package com.ld.igds.models;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
|
import lombok.Data;
|
|
/**
|
* 能耗数据信息,能耗数据记录
|
*
|
* @author: andy.jia
|
* @description:
|
* @version:
|
* @data:2020年2月14日
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_ENERGY")
|
public class Energy implements Serializable {
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
|
@Id
|
@Column(name = "ID_", length = 40)
|
@PropertyDef(label = "批次号")
|
private String id;
|
|
@Column(name = "COMPANY_ID_", length = 10)
|
@PropertyDef(label = "组织编码", description = "")
|
private String companyId;
|
|
@Column(name = "DEPOT_ID_", length = 50)
|
@PropertyDef(label = "所属仓库")
|
private String depotId;
|
|
@Column(name = "DEVICE_ID_", length = 40)
|
@PropertyDef(label = "电表id")
|
private String deviceId;
|
|
@Column(name = "DEVICE_NAME_", length = 200)
|
@PropertyDef(label = "电表名称")
|
private String deviceName;
|
|
@Column(name = "TYPE_", length = 10)
|
@PropertyDef(label = "能耗类型")
|
private String type;
|
|
@Column(name = "UPDATE_TIME_")
|
@PropertyDef(label = "更新时间")
|
private Date updateTime;
|
|
@Column(name = "UA_")
|
@PropertyDef(label = "A相电压")
|
private Double ua;
|
|
@Column(name = "UB_")
|
@PropertyDef(label = "B相电压")
|
private Double ub;
|
|
@Column(name = "UC_")
|
@PropertyDef(label = "C相电压")
|
private Double uc;
|
|
@Column(name = "IA_")
|
@PropertyDef(label = "A相电流")
|
private Double ia;
|
|
@Column(name = "IB_")
|
@PropertyDef(label = "B相电流")
|
private Double ib;
|
|
@Column(name = "IC_")
|
@PropertyDef(label = "C相电流")
|
private Double ic;
|
|
@Column(name = "F_")
|
@PropertyDef(label = "频率")
|
private Double f;
|
|
@Column(name = "EP_")
|
@PropertyDef(label = "有功电能(电表读数)")
|
private double ep;
|
|
@Column(name = "EP_INC_")
|
@PropertyDef(label = "有功电能(增量)")
|
private double epInc = 0.0;
|
|
@Column(name = "EQ_")
|
@PropertyDef(label = "无功电能(电表读数)")
|
private double eq;
|
|
@Column(name = "EQ_INC_")
|
@PropertyDef(label = "无功电能(增量)")
|
private double eqInc = 0.0;
|
|
@Column(name = "ES_")
|
@PropertyDef(label = "总电能 (电表读数)")
|
private double es;
|
|
@Column(name = "ES_INC_")
|
@PropertyDef(label = "总电能(增量)")
|
private double esInc = 0.0;
|
|
// @Column(name = "ES_FAN_")
|
// @PropertyDef(label = "通风耗电(增量)")
|
// private double esFan = 0.0;
|
//
|
// @Column(name = "ES_AIR_")
|
// @PropertyDef(label = "空调耗电(增量)")
|
// private double esAir = 0.0;
|
//
|
// @Column(name = "ES_LAMP_")
|
// @PropertyDef(label = "照明耗电(增量)")
|
// private double esLamp = 0.0;
|
|
}
|