package com.iformall.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.iformall.domain.po.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

/**
 * @author gongbiao
 */
@TableName(value = "kw_meter_data")
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class KwMeterData extends BaseEntity {

    protected Long id;

    protected Long fake_id;

    @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 = "totalPower")
    private Integer totalPower;

    @io.swagger.annotations.ApiModelProperty(value = "设备命令上传记录时间", name = "deviceTime")
    private Date deviceTime;

    @io.swagger.annotations.ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;

    @io.swagger.annotations.ApiModelProperty(value = "时段用电量", name = "usedPower")
    private Integer usedPower;

    @io.swagger.annotations.ApiModelProperty(value = "时段用电量开始时间", name = "lastDeviceTime")
    private Date lastDeviceTime;

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

}
