package com.ho.business.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ho.common.tools.constant.CommonConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 充放电量时间设定
 * 站首页使用
 */
@Data
public class ElecMeterConfig implements Serializable {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "电站id")
    private Integer stationId;

    @ApiModelProperty(value = "开始时间")
    private String beginTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @JsonFormat(pattern = CommonConstant.DATE)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @JsonFormat(pattern = CommonConstant.DATE)
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}
