CZT
2023-11-02 22d189f4028bc00478efbb33b8a29fe65635188f
igds-recir/src/main/java/com/ld/igds/models/DrugLog.java
@@ -1,5 +1,6 @@
package com.ld.igds.models;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
@@ -7,128 +8,307 @@
import javax.persistence.Id;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.bstek.dorado.annotation.PropertyDef;
/**
 * 环流熏蒸-熏蒸作业记录
 *
 * @date 2018年3月9日 下午3:46:24
 * @version 1.0
 *
 * @date 2023年7月26日
 */
@Data
@Entity
@Table(name = "D_DRUG_LOG")
public class DrugLog {
public class DrugLog implements Serializable {
   @Id
   @Column(name = "ID_", length = 40)
   @PropertyDef(label = "id")
   private String id;
    @Id
    @Column(name = "ID_", length = 40)
    @PropertyDef(label = "熏蒸作业单号", description = "作业日期 (yyyyMMdd) +3 位顺序号")
    private String id;
   @Column(name = "COMPANY_ID_", length = 10)
   @PropertyDef(label = "组织编码")
   private String companyId;
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
   @Column(name = "DEPT_ID_", length = 40)
   @PropertyDef(label = "所属分库")
   private String deptId;
    @Column(name = "DEPT_ID_", length = 40)
    @PropertyDef(label = "所属分库")
    private String deptId;
   @Column(name = "DEPOT_ID_", length = 50)
   @PropertyDef(label = "仓库")
   private String depotId;
    @Column(name = "DEPOT_ID_", length = 50)
    @PropertyDef(label = "仓库")
    private String depotId;
    @Column(name = "START_")
    @PropertyDef(label = "开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date start;
    @Column(name = "END_")
    @PropertyDef(label = "截至时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date end;
    @Column(name = "PEST_BATCH_ID_", length = 50)
    @PropertyDef(label = "虫害检测单号")
    private String pestBatchId;
    @Column(name = "NUM_")
    @PropertyDef(label = "第几次熏蒸")
    private Integer num = 0;
   @Column(name = "START_")
   @PropertyDef(label = "开始时间")
   private Date start;
    @Column(name = "MODE_", length = 1)
    @PropertyDef(label = "熏蒸方式", description = "0:粮面潮解1:布袋埋藏2:探管3:综合施药")
    private String mode;
   @Column(name = "END_")
   @PropertyDef(label = "截至时间")
   private Date end;
    @Column(name = "RECIR_MODE_", length = 1)
    @PropertyDef(label = "环流熏蒸方式", description = "0:固定式布置形式1:移动式布置形式")
    private String recirMode;
   @Column(name = "PEST_BATCH_ID_", length = 50)
   @PropertyDef(label = "虫害检测单号")
   private String pestBatchId;
    @Column(name = "hlxzynhljsjh", length = 1)
    @PropertyDef(label = "环流熏蒸与内环流技术结合", description = "0:分别使用_固定式1:分别使用_移动式2:二合一应用_单向控制3:二合一应用_双向控制")
    private String hlxzynhljsjh;
   @Column(name = "NUM_")
   @PropertyDef(label = "第几次熏蒸")
   private Integer num = 0;
    @PropertyDef(label = "熏蒸方案制定")
    @Column(name = "xzfazd", length = 128)
    private String xzfazd;
    @PropertyDef(label = "熏蒸方案起草人")
    @Column(name = "xzfaqcr", length = 64)
    private String xzfaqcr;
    @PropertyDef(label = "熏蒸方案批准人")
    @Column(name = "xzfapzr", length = 64)
    private String xzfapzr;
    @PropertyDef(label = "熏蒸方案报备情况")
    @Column(name = "xzfabbqk", length = 64)
    private String xzfabbqk;
    @PropertyDef(label = "施药人员资质情况")
    @Column(name = "syryzzqk", length = 64)
    private String syryzzqk;
    @PropertyDef(label = "施药资质审核")
    @Column(name = "syzzsh", length = 64)
    private String syzzsh;
    @Column(name = "DRUG_NAME_", length = 64)
    @PropertyDef(label = "药剂名称")
    private String drugName;
    @PropertyDef(label = "剂型")
    @Column(name = "jx", length = 64)
    private String jx;
    @Column(name = "CONCENTRATION_", length = 50)
    @PropertyDef(label = "药剂浓度", description = "%")
    private Double concentration = 0.0;
    @Column(name = "GRAIN_DOSE_")
    @PropertyDef(label = "粮堆单位用药量", description = "g/m³")
    private Double grainDose = 0.0;
    @Column(name = "SPACE_DOSE_")
    @PropertyDef(label = "空间单位用药量", description = "g/m³")
    private Double spaceDose = 0.0;
    @Column(name = "DOSE_")
    @PropertyDef(label = "总用药量", description = "kg")
    private Double dose = 0.0;
    @PropertyDef(label = "施药方法", description = "0:潮解法1:仓外发生器2:钢瓶气")
    @Column(name = "syff", length = 1)
    private String syff;
    @PropertyDef(label = "辅助施药措施")
    @Column(name = "fzsycs", length = 128)
    private String fzsycs;
    @PropertyDef(label = "空气呼吸器及安全检查情况")
    @Column(name = "kqhqjaqjcqk", length = 128)
    private String kqhqjaqjcqk;
    @PropertyDef(label = "磷化氢检测装置调试情况")
    @Column(name = "lhqjczztsqk", length = 128)
    private String lhqjczztsqk;
    @PropertyDef(label = "氧气深度检测装置调试情况")
    @Column(name = "yqsdjczztsqk", length = 128)
    private String yqsdjczztsqk;
    @PropertyDef(label = "磷化氢报警仪安全检查")
    @Column(name = "lhqbjyaqjc", length = 128)
    private String lhqbjyaqjc;
    @PropertyDef(label = "氧气报警仪安全检查")
    @Column(name = "yqbjyaqjc", length = 128)
    private String yqbjyaqjc;
    @PropertyDef(label = "补药前仓内磷化氢浓度")
    @Column(name = "byqcnlhqnd", precision = 20, scale = 3)
    private double byqcnlhqnd;
    @PropertyDef(label = "磷化氢浓度单位", description = "1:g/m³(默认);2:ppm;3:ml/m³;4:%VOL")
    @Column(name = "nlhqnddw", length = 1)
    private String nlhqnddw = "1";
    @PropertyDef(label = "目标浓度", description = "单位:g/m³")
    @Column(name = "mbnd", precision = 20, scale = 3)
    private double mbnd;
    @PropertyDef(label = "计算补药量", description = "单位:g")
    @Column(name = "jsbyl", precision = 20, scale = 3)
    private double jsbyl;
    @PropertyDef(label = "实际补药量", description = "单位:g")
    @Column(name = "sjbyl", precision = 20, scale = 3)
    private double sjbyl;
    @PropertyDef(label = "补药方法")
    @Column(name = "byff", length = 128)
    private String byff;
    @PropertyDef(label = "作业人数")
    @Column(name = "zyrs")
    private Integer zyrs;
    @PropertyDef(label = "补药作业批准人")
    @Column(name = "byzypzr", length = 64)
    private String byzypzr;
    @PropertyDef(label = "现场指挥人")
    @Column(name = "xczhr", length = 64)
    private String xczhr;
    @PropertyDef(label = "峰值浓度", description = "单位:g/m³")
    @Column(name = "fznd", precision = 20, scale = 3)
    private double fznd;
    @PropertyDef(label = "目标浓度维持天数", description = "单位:天")
    @Column(name = "mbndwcts")
    private Integer mbndwcts;
    @PropertyDef(label = "漏气位置监测")
    @Column(name = "lswzjc", length = 128)
    private String lswzjc;
    @PropertyDef(label = "漏气部位采取的补救措施")
    @Column(name = "lqbwcqdbjcs", length = 128)
    private String lqbwcqdbjcs;
    @PropertyDef(label = "密闭时间", description = "单位:天")
    @Column(name = "mbsj")
    private Integer mbsj;
    @PropertyDef(label = "CT值")
    @Column(name = "ctz", precision = 20, scale = 3)
    private double ctz;
    @PropertyDef(label = "散气前磷化氢浓度", description = "单位:g/m³")
    @Column(name = "sqqlhqnd", precision = 20, scale = 3)
    private double sqqlhqnd;
    @Column(name = "VENTILATE_TIME_")
    @PropertyDef(label = "散气时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date ventilateTime;
    @Column(name = "VENTILATE_METHOD_", length = 100)
    @PropertyDef(label = "散气方法")
    private String ventilateMethod;
    @PropertyDef(label = "散气批准人")
    @Column(name = "sqpzr", length = 64)
    private String sqpzr;
    @PropertyDef(label = "散气持续天数", description = "单位:天")
    @Column(name = "sqcsts")
    private Integer sqcsts;
    @Column(name = "AFTER_PH3_")
    @PropertyDef(label = "散气后磷化氢浓度", description = "单位:g/m³")
    private Double afterPh3;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @PropertyDef(label = "残渣收集作业时间")
    @Column(name = "czsjzysj")
    private Date czsjzysj;
    @PropertyDef(label = "残渣收集作业人数")
    @Column(name = "czsjzyrs")
    private Integer czsjzyrs;
    @PropertyDef(label = "残渣收集方法")
    @Column(name = "czsjff", length = 128)
    private String czsjff;
    @PropertyDef(label = "残渣收集作业批准人")
    @Column(name = "czsjzypzr", length = 64)
    private String czsjzypzr;
    @PropertyDef(label = "残渣处理措施")
    @Column(name = "czclcs", length = 128)
    private String czclcs;
    @PropertyDef(label = "残渣处理作业人数")
    @Column(name = "czclzyrs")
    private Integer czclzyrs;
    @PropertyDef(label = "残渣处理批准人")
    @Column(name = "czclpzr", length = 64)
    private String czclpzr;
    @PropertyDef(label = "熏蒸后活虫检出情况")
    @Column(name = "xzhhcjcqk", length = 128)
    private String xzhhcjcqk;
    @PropertyDef(label = "熏蒸后虫口密度", description = "单位:头/kg")
    @Column(name = "xzhckmd")
    private Integer xzhckmd;
    @PropertyDef(label = "培养15天后活虫数", description = "单位:头/kg")
    @Column(name = "pyswthhcs")
    private Integer pyswthhcs;
    @PropertyDef(label = "培养45天后活虫数", description = "单位:头/kg")
    @Column(name = "pysswthhcs")
    private Integer pysswthhcs;
   @Column(name = "MODE_", length = 50)
   @PropertyDef(label = "熏蒸方式")
   private String mode;
    /**
     * 0:良好
     * 1:一般
     * 2:不好
     */
    @Column(name = "EVALUATE_", length = 1)
    @PropertyDef(label = "熏蒸评价", description = "0:良好 1:一般 2:不好")
    private String evaluate;
   @Column(name = "RECIR_MODE_", length = 50)
   @PropertyDef(label = "环流熏蒸方式")
   private String recirMode;
    @PropertyDef(label = "熏蒸负责人")
    @Column(name = "xzfzr", length = 64)
    private String xzfzr;
   @Column(name = "DRUG_NAME_", length = 50)
   @PropertyDef(label = "药剂名称")
   private String drugName;
    @PropertyDef(label = "熏蒸作业人员")
    @Column(name = "xzzyry", length = 128)
    private String xzzyry;
   @Column(name = "CONCENTRATION_", length = 50)
   @PropertyDef(label = "药剂浓度",description = "%")
   private Double concentration = 0.0;
    @Column(name = "USER_", length = 30)
    @PropertyDef(label = "操作人")
    private String user;
   @Column(name = "GRAIN_DOSE_")
   @PropertyDef(label = "粮堆使用剂量",description = "g/m³")
   private Double grainDose = 0.0;
    @PropertyDef(label = "更新人")
    @Column(name = "UPDATE_USER_", length = 30)
    private String updateUser;
   @Column(name = "SPACE_DOSE_")
   @PropertyDef(label = "空间使用剂量",description = "g/m³")
   private Double SpaceDose =0.0;
    @PropertyDef(label = "更新时间")
    @Column(name = "UPDATE_TIME_")
    private Date updateTime;
   @Column(name = "DOSE_")
   @PropertyDef(label = "总使用剂量",description = "g/m³")
   private Double dose = 0.0;
   @Column(name = "VENTILATE_TIME_")
   @PropertyDef(label = "散气时间")
   private Date ventilateTime;
   @Column(name = "VENTILATE_METHOD_",length = 100)
   @PropertyDef(label = "散气方法")
   private String  ventilateMethod;
   @Column(name = "AFTER_PH3_")
   @PropertyDef(label = "散气后磷化氢浓度")
   private Double afterPh3;
   /**
    * 0:良好
    * 1:一般
    * 2:不好
    */
   @Column(name = "EVALUATE_",length = 10)
   @PropertyDef(label = "熏蒸评价")
   private String evaluate;
   @Column(name = "CZSJFF_",length = 100)
   @PropertyDef(label = "残渣收集方法")
   private String czsjff;
   @Column(name = "CZCLCS_",length = 100)
   @PropertyDef(label = "残渣处理措施")
   private String czclcs;
   @Column(name = "USER_", length = 30)
   @PropertyDef(label = "操作人")
   private String user;
   @PropertyDef(label = "更新人")
   @Column(name = "UPDATE_USER_", length = 30)
   private String updateUser;
   @PropertyDef(label = "操作时间")
   @Column(name = "UPDATE_TIME_")
   private Date updateTime;
   @Column(name = "REMARKS_", length = 500)
   @PropertyDef(label = "备注说明")
   private String remarks;
    @Column(name = "REMARKS_", length = 500)
    @PropertyDef(label = "备注说明")
    private String remarks;
}