package com.fzzy.async.fzzy61.entity;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fzzy.async.fzzy40.entity.Fz40DrugLogDtl;
|
import com.fzzy.async.fzzy40.entity.Fz40DrugLogPeople;
|
import com.fzzy.async.fzzy40.entity.Fz40DrugLogWay;
|
import lombok.Data;
|
|
import javax.persistence.*;
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* 熏蒸备案主表信息
|
*
|
* @Author:YAN
|
*/
|
@Entity
|
@Data
|
@Table(name = "D_DRUG_LOG_APPLY")
|
public class Fz61DrugLogApply implements Serializable {
|
|
public static String SORT_PROP = "xzbm";
|
|
@Id
|
@Column(name = "xzbm", length = 12)
|
@PropertyDef(label = "熏蒸备案编号", description = "填报日期yyyyMMdd+4位顺序号")
|
private String xzbm;
|
|
@Column(name = "DEPT_ID_", length = 21)
|
@PropertyDef(label = "库区代码")
|
private String deptId;
|
|
@Column(name = "COMPANY_ID_", length = 10)
|
@PropertyDef(label = "组织编码")
|
private String companyId;
|
|
@Column(name = "tbrq")
|
@PropertyDef(label = "填报日期")
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date tbrq;
|
|
@Column(name = "sqxzrq")
|
@PropertyDef(label = "申请熏蒸日期")
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date sqxzrq;
|
|
@Column(name = "fzr", length = 20)
|
@PropertyDef(label = "负责人")
|
private String fzr;
|
|
@Column(name = "fzrdh", length = 11)
|
@PropertyDef(label = "负责人电话")
|
private String fzrdh;
|
|
@Column(name = "xcfzr", length = 20)
|
@PropertyDef(label = "现场负责人")
|
private String xcfzr;
|
|
@Column(name = "fzrzw", length = 10)
|
@PropertyDef(label = "现场负责人职务")
|
private String xcfzrzw;
|
|
@Column(name = "xcfzrdh", length = 11)
|
@PropertyDef(label = "现场负责人电话")
|
private String xcfzrdh;
|
|
@Column(name = "tbr", length = 20)
|
@PropertyDef(label = "填表人")
|
private String tbr;
|
|
@Column(name = "tbrdh", length = 11)
|
@PropertyDef(label = "填表人电话")
|
private String tbrdh;
|
|
@Column(name = "sfszjjxd", length = 2)
|
@PropertyDef(label = "是否设置警戒线(东)", description = "是或否")
|
private String sfszjjxd;
|
|
@Column(name = "sfszjjxx", length = 2)
|
@PropertyDef(label = "是否设置警戒线(西)", description = "是或否")
|
private String sfszjjxx;
|
|
@Column(name = "sfszjjxn", length = 2)
|
@PropertyDef(label = "是否设置警戒线(南)", description = "是或否")
|
private String sfszjjxn;
|
|
@Column(name = "sfszjjxb", length = 2)
|
@PropertyDef(label = "是否设置警戒线(北)", description = "是或否")
|
private String sfszjjxb;
|
|
@Column(name = "ssxzzystqybqk", length = 1024)
|
@PropertyDef(label = "实施熏蒸作业时天气预报情况")
|
private String ssxzzystqybqk;
|
|
@Column(name = "xzssgcap", length = 1024)
|
@PropertyDef(label = "熏蒸安排及实施过程")
|
private String xzssgcap;
|
|
@Column(name = "aqfhjyjcccs", length = 1024)
|
@PropertyDef(label = "安全防护及应急处置措施")
|
private String aqfhjyjcccs;
|
|
@Column(name = "xzzysx", length = 1024)
|
@PropertyDef(label = "熏蒸注意事项")
|
private String xzzysx;
|
|
@Column(name = "DRUG_NAME_", length = 64)
|
@PropertyDef(label = "药剂名称")
|
private String drugName;
|
|
@Column(name = "DRUG_TYPE_", length = 10)
|
@PropertyDef(label = "药剂类型/型号")
|
private String drugType;
|
|
@Column(name = "yjyxqz")
|
@PropertyDef(label = "药剂有效期至")
|
private Date yjyxqz;
|
|
@Column(name = "lqsl", precision = 20, scale = 3)
|
@PropertyDef(label = "领取数量", description = "公斤")
|
private Double lqsl;
|
|
@Column(name = "sysbjfs", length = 20)
|
@PropertyDef(label = "施药设备及方式")
|
private String sysbjfs;
|
|
@Column(name = "zcdd", length = 30)
|
@PropertyDef(label = "暂存地点")
|
private String zcdd;
|
|
@Column(name = "lqr", length = 20)
|
@PropertyDef(label = "领取人")
|
private String lqr;
|
|
@Column(name = "lqsj")
|
@PropertyDef(label = "领取时间")
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date lqsj;
|
|
@Column(name = "UPDATE_TIME_")
|
@PropertyDef(label = "更新时间")
|
private Date updateTime;
|
|
|
/**
|
* 储粮粮情明细表
|
*/
|
@Transient
|
private List<Fz61DrugLogDtl> drugLogDtls;
|
|
@Column(name = "DTL_ID_", length = 40)
|
@PropertyDef(label = "dtlId")
|
private String dtlId;
|
|
@Column(name = "DEPOT_ID_", length = 50)
|
@PropertyDef(label = "仓房/油罐代码")
|
private String depotId;
|
|
@Column(name = "FOOD_VARIETY_", length = 20)
|
@PropertyDef(label = "粮食品种")
|
private String foodVariety;
|
|
@Column(name = "FOOD_TYPE_", length = 20)
|
@PropertyDef(label = "粮食性质")
|
private String foodType;
|
|
@Column(name = "FOOD_LEVEL_", length = 10)
|
@PropertyDef(label = "粮食等级")
|
private String foodLevel;
|
|
@Column(name = "NUMBER_", precision = 20, scale = 3)
|
@PropertyDef(label = "粮食数量", description = "单位:吨")
|
private Double number = 0.0;
|
|
@Column(name = "PER_WET_", precision = 20, scale = 3)
|
@PropertyDef(label = "水分", description = "单位:%")
|
private Double perWet;
|
|
@Column(name = "PER_IMPURITY_", precision = 20, scale = 3)
|
@PropertyDef(label = "杂质", description = "单位:%")
|
private Double perImpurity;
|
|
@Column(name = "lw", precision = 20, scale = 3)
|
@PropertyDef(label = "粮温")
|
private Double lw;
|
|
@Column(name = "cw", precision = 20, scale = 3)
|
@PropertyDef(label = "仓温")
|
private Double cw;
|
|
@Column(name = "cnsd", precision = 20, scale = 3)
|
@PropertyDef(label = "仓内湿度")
|
private Double cnsd;
|
|
@Column(name = "clfs", length = 1)
|
@PropertyDef(label = "存粮方式", description = "1:散装储粮;2:包装;3:围包散存;9:其他")
|
private String clfs;
|
|
@Column(name = "rkrq")
|
@PropertyDef(label = "入库日期")
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date rkrq;
|
|
@Column(name = "hc", length = 30)
|
@PropertyDef(label = "害虫")
|
private String hc;
|
|
@Column(name = "cldjpd", length = 3)
|
@PropertyDef(label = "虫粮等级判定")
|
private String cldjpd;
|
|
@Column(name = "ldtj", precision = 20, scale = 3)
|
@PropertyDef(label = "粮堆体积", description = "m³")
|
private Double ldtj;
|
|
@Column(name = "kjtj", precision = 20, scale = 3)
|
@PropertyDef(label = "空间体积", description = "m³")
|
private Double kjtj;
|
|
@Column(name = "lddwyyl", precision = 20, scale = 3)
|
@PropertyDef(label = "粮堆单位用药量")
|
private Double lddwyyl;
|
|
@Column(name = "kjdwyyl", precision = 20, scale = 3)
|
@PropertyDef(label = "空间单位用药量")
|
private Double kjdwyyl;
|
|
@Column(name = "zyyl", precision = 20, scale = 3)
|
@PropertyDef(label = "总用药量")
|
private Double zyyl;
|
/**
|
* 仓房气密性以 500 Pa 的压力半衰 期 t 分为四个等级。
|
* 1: Ⅰ级,t≥300s。
|
* 2: Ⅱ级,120s≤t<300s。
|
* 3:Ⅲ级,40s≤t<120s (平房仓) , 60s≤ t<120s (立筒仓、浅圆仓) 。
|
* 4:Ⅳ级,t<40s (平房仓) ,t<60s (立筒仓、浅圆仓) 。
|
*/
|
@Column(name = "qmx", length = 1)
|
@PropertyDef(label = "气密性")
|
private String qmx;
|
|
@Column(name = "jhxzksrq")
|
@PropertyDef(label = "计划熏蒸开始日期")
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date jhxzksrq;
|
|
@Column(name = "jhxzjsrq")
|
@PropertyDef(label = "计划熏蒸结束日期")
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date jhxzjsrq;
|
|
/**
|
* 熏蒸备案方式
|
*/
|
@Transient
|
private List<Fz61DrugLogWay> drugLogWays;
|
|
@Column(name = "Way_ID_", length = 40)
|
@PropertyDef(label = "wayId")
|
private String wayId;
|
|
@Column(name = "xznd", precision = 20, scale = 3)
|
@PropertyDef(label = "设定熏蒸浓度", description = "单位:ml/m³")
|
private Double xznd;
|
|
@Column(name = "mbsj")
|
@PropertyDef(label = "密闭时间", description = "单位:天")
|
private Integer mbsj;
|
|
@Column(name = "xzfs", length = 30)
|
@PropertyDef(label = "熏蒸方式")
|
private String xzfs;
|
|
@Column(name = "sqfs", length = 30)
|
@PropertyDef(label = "散气方式")
|
private String sqfs;
|
|
/**
|
* 熏蒸作业人员
|
*/
|
@Transient
|
private List<Fz61DrugLogPeople> drugLogPeople;
|
|
@Transient
|
@PropertyDef(label = "附件信息")
|
private List<Fz61FileInfo> files;
|
|
}
|