package com.fzzy.async.fzzy61.entity;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import lombok.Data;
|
|
import javax.persistence.*;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 气体业务数据信息包括浓度,氮气,压力信息 气体模块:包括气体浓度
|
*
|
* @author Andy
|
*
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_GAS")
|
@IdClass(Fz61GasKey.class)
|
public class Fz61Gas implements Serializable {
|
|
public static String SORT_PROP = "batchId";
|
|
@Id
|
@Column(name = "BATCH_ID_", length = 40)
|
@PropertyDef(label = "批次ID")
|
private String batchId;
|
|
@Id
|
@Column(name = "COMPANY_ID_", length = 10)
|
@PropertyDef(label = "组织编码", description = "")
|
private String companyId;
|
|
@Id
|
@Column(name = "DEPOT_ID_", length = 50)
|
@PropertyDef(label = "仓库ID", description = "仓库编号")
|
private String depotId;
|
|
@Column(name = "TYPE_", length = 1)
|
@PropertyDef(label = "类型", description = "0-常规检测,1-熏蒸检测")
|
private String type;
|
|
@Column(name = "PER_CO2_")
|
@PropertyDef(label = "二氧化碳浓度", description = "平均二氧化碳浓度(PPM)")
|
private Double perCo2 = 0.0;
|
|
@Column(name = "PER_O2_")
|
@PropertyDef(label = "氧气浓度", description = "平均氧气浓度(%)")
|
private Double perO2 = 0.0;
|
|
@Column(name = "PER_PH3_")
|
@PropertyDef(label = "磷化氢浓度", description = "平均磷化氢浓度(PPM)")
|
private Double perPh3 = 0.0;
|
|
@Column(name = "PER_N2_")
|
@PropertyDef(label = "氮气浓度", description = "氮气浓度(%)")
|
private Double perN2 = 0.0;
|
|
@Column(name = "PER_CO2_MAX_")
|
@PropertyDef(label = "二氧化碳浓度-最大", description = "二氧化碳浓度(PPM)")
|
private Double perCo2Max = 0.0;
|
|
@Column(name = "PER_O2_MAX_")
|
@PropertyDef(label = "氧气浓度-最大", description = "氧气浓度(%)")
|
private Double perO2Max = 0.0;
|
|
@Column(name = "PER_PH3_MAX_")
|
@PropertyDef(label = "磷化氢浓度-最大", description = "磷化氢浓度(PPM)")
|
private Double perPh3Max = 0.0;
|
|
@Column(name = "PER_N2_MAX_")
|
@PropertyDef(label = "氮气浓度-最大")
|
private Double perN2Max = 0.0;
|
|
@Column(name = "PER_CO2_MIN_")
|
@PropertyDef(label = "二氧化碳浓度-最小", description = "二氧化碳浓度(PPM)")
|
private Double perCo2Min = 0.0;
|
|
@Column(name = "PER_O2_MIN_")
|
@PropertyDef(label = "氧气浓度-最小", description = "氧气浓度(%)")
|
private Double perO2Min = 0.0;
|
|
@Column(name = "PER_PH3_MIN_")
|
@PropertyDef(label = "磷化氢浓度-最小", description = "磷化氢浓度(PPM)")
|
private Double perPh3Min = 0.0;
|
|
@Column(name = "PER_N2_MIN_")
|
@PropertyDef(label = "氮气浓度-最小")
|
private Double perN2Min = 0.0;
|
|
@Column(name = "RECEIVE_DATE_")
|
@PropertyDef(label = "检测时间")
|
private Date receiveDate;
|
|
@Column(name = "GAS_START_")
|
@PropertyDef(label = "气体采集点开始", description = "气体配置信息")
|
private int gasStart;
|
|
@Column(name = "GAS_END_")
|
@PropertyDef(label = "气体采集点截至", description = "气体配置信息")
|
private int gasEnd;
|
|
@Column(name = "CHECK_NUM_")
|
@PropertyDef(label = "采集通道个数")
|
private int checkNum = 0;
|
|
@Column(name = "POINTS_", length = 2000)
|
@PropertyDef(label = "采集点信息", description = "固定为:passCode,co2,o2,ph3,n2;passCode,co2,o2,ph3,n2;")
|
private String points;
|
|
@Column(name = "CHECK_USER_", length = 30)
|
@PropertyDef(label = "检测人")
|
private String checkUser;
|
|
@Column(name = "BATCH_TAG_", length = 2)
|
@PropertyDef(label = "生成方式", description = "01-设备采集;02-手动补录")
|
private String batchTag = "01";
|
|
@Column(name = "REMARK_", length = 200)
|
@PropertyDef(label = "备注信息")
|
private String remark;
|
|
|
}
|