|  |  |  | 
|---|
|  |  |  | import com.bstek.dorado.annotation.PropertyDef; | 
|---|
|  |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import javax.persistence.*; | 
|---|
|  |  |  | import java.io.Serializable; | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Id | 
|---|
|  |  |  | @Column(name = "xzbm", length = 12) | 
|---|
|  |  |  | @PropertyDef(label = "熏蒸备案编号", description = "4位顺序号") | 
|---|
|  |  |  | @PropertyDef(label = "熏蒸备案编号", description = "yyyyMMDD+4位顺序号") | 
|---|
|  |  |  | private String xzbm; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Column(name = "DEPT_ID_", length = 21) | 
|---|
|  |  |  | 
|---|
|  |  |  | @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") | 
|---|
|  |  |  | private Date tbrq; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Column(name = "dwdm", length = 18) | 
|---|
|  |  |  | @PropertyDef(label = "单位代码", description = "企业信用代码") | 
|---|
|  |  |  | private String dwdm; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Column(name = "sqxzrq") | 
|---|
|  |  |  | @PropertyDef(label = "申请熏蒸日期") | 
|---|
|  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "熏蒸注意事项") | 
|---|
|  |  |  | private String xzzysx; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Column(name = "FILE_STORAGE_ID_", length = 19) | 
|---|
|  |  |  | @PropertyDef(label = "文件存储ID") | 
|---|
|  |  |  | private String fileStorageId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Column(name = "DRUG_NAME_", length = 64) | 
|---|
|  |  |  | @PropertyDef(label = "药剂名称") | 
|---|
|  |  |  | 
|---|
|  |  |  | @Transient | 
|---|
|  |  |  | private List<Fz40DrugLogPeople> drugLogPeople; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 储粮粮情明细表 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @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; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 熏蒸备案方式 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @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; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 熏蒸作业人员 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|