| package com.fzzy.async.fzzy30.entity; | 
|   | 
| import com.bstek.dorado.annotation.PropertyDef; | 
| import lombok.Data; | 
|   | 
| import javax.persistence.Column; | 
| import javax.persistence.Entity; | 
| import javax.persistence.Id; | 
| import javax.persistence.Table; | 
| import java.io.Serializable; | 
| import java.util.Date; | 
|   | 
| /** | 
|  * 气体业务数据信息包括浓度,氮气,压力信息 气体模块:包括气体浓度 | 
|  *  | 
|  * @author Andy | 
|  * | 
|  */ | 
| @Data | 
| @Entity | 
| @Table(name = "D_GAS") | 
| public class Gas implements Serializable { | 
|   | 
|     private static final long serialVersionUID = 1L; | 
|   | 
|     @Id | 
|     @Column(name = "BATCH_ID_", length = 40) | 
|     @PropertyDef(label = "批次ID") | 
|     private String batchId; | 
|   | 
|     @Column(name = "COMPANY_ID_", length = 10) | 
|     @PropertyDef(label = "组织编码", description = "") | 
|     private String companyId; | 
|   | 
|     @Column(name = "DEPOT_ID_", length = 50) | 
|     @PropertyDef(label = "仓库ID", description = "仓库编号") | 
|     private String depotId; | 
|   | 
|     @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 = "REMARK_", length = 200) | 
|     @PropertyDef(label = "备注信息") | 
|     private String remark; | 
|   | 
|     public Gas() { | 
|         super(); | 
|     } | 
|   | 
|     public Gas(String batchId, String companyId, String depotId, | 
|                Date receiveDate) { | 
|         super(); | 
|         this.batchId = batchId; | 
|         this.companyId = companyId; | 
|         this.depotId = depotId; | 
|         this.perCo2Max = 0.0; | 
|         this.perO2Max = 0.0; | 
|         this.perPh3Max = 0.0; | 
|         this.perCo2Min = 0.0; | 
|         this.perO2Min = 0.0; | 
|         this.perPh3Min = 0.0; | 
|         this.perCo2 = 0.0; | 
|         this.perO2 = 0.0; | 
|         this.perPh3 = 0.0; | 
|         this.receiveDate = receiveDate; | 
|     } | 
| } |