package com.iformall.domain.dto;

import com.iformall.domain.po.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author gongbiao
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class KwMeterDataDto extends BaseEntity {

    @io.swagger.annotations.ApiModelProperty(value = "tenantId", name = "tenantId")
    private String tenantId;

    @io.swagger.annotations.ApiModelProperty(value = "电表ID", name = "meterId")
    private Long meterId;

    @io.swagger.annotations.ApiModelProperty(value = "盒子ID", name = "boxId")
    private Long boxId;

    @io.swagger.annotations.ApiModelProperty(value = "电表编号", name = "address")
    private String address;

    @io.swagger.annotations.ApiModelProperty(value = "开始时间", name = "startTime")
    private Date startTime;

    @io.swagger.annotations.ApiModelProperty(value = "结束时间", name = "endTime")
    private Date endTime;

    private Integer reportType;

    @io.swagger.annotations.ApiModelProperty(value = "报表时间", name = "reportTime")
    private String reportTime;

    @io.swagger.annotations.ApiModelProperty(value = "开始电量", name = "startNumber")
    private Integer startNumber;

    @io.swagger.annotations.ApiModelProperty(value = "结束电量", name = "endNumber")
    private Integer endNumber;

    @io.swagger.annotations.ApiModelProperty(value = "电表状态", name = "status")
    private Integer status;

    public static enum Field {
        ;
        private String value;

        Field(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }

        public void setCol(String value) {
            this.value = value;
        }

        @Override
        public String toString() {
            return this.getValue();
        }
    }


}
