package com.fzzy.api.entity; import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; import com.fasterxml.jackson.annotation.JsonFormat; import com.fzzy.push.gd2022.dto.Gd2022Api1023Dtl; import com.fzzy.push.gd2022.dto.Gd2022Api1023People; import com.fzzy.push.gd2022.dto.Gd2022Api1023Way; import lombok.Data; import javax.persistence.*; import java.io.Serializable; import java.util.Date; import java.util.List; /** * 熏蒸备案主表信息 * * @Author:YAN */ @Entity @Data @Table(name = "API_9201") public class Api9201 extends ApiParent implements Serializable { @Id @Column(name = "id", length = 12) @PropertyDef(label = "id", description = "入库日期+4位顺序号") private String id; @Column(name = "xzbm", length = 4) @PropertyDef(label = "熏蒸备案编号", description = "4位顺序号") private String xzbm; @Column(name = "kqdm", length = 21) @PropertyDef(label = "库区代码") private String kqdm; @Column(name = "kqmc", length = 21) @PropertyDef(label = "库区名称") private String kqmc; @Column(name = "tbrq") @PropertyDef(label = "填报日期") @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 = "dwmc", length = 18) @PropertyDef(label = "单位名称") private String dwmc; @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 = "fileStorageId", length = 19) @PropertyDef(label = "文件存储ID") private String fileStorageId; @Column(name = "yjmc", length = 64) @PropertyDef(label = "药剂名称") private String yjmc; @Column(name = "yjlx", length = 10) @PropertyDef(label = "药剂类型/型号") private String yjlx; @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 = "lqrq") @PropertyDef(label = "领取时间") @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date lqrq; @Column(name = "czbz", length = 1) @PropertyDef(label = "操作标志") private String czbz; @Column(name = "zhgxsj") @PropertyDef(label = "更新时间") private Date zhgxsj; @Column(name = "dtl", length = 2000) @PropertyDef(label = "粮情明细表") private String dtl; @Column(name = "way", length = 2000) @PropertyDef(label = "熏蒸备案方式") private String way; @Column(name = "people", length = 2000) @PropertyDef(label = "粮情明细表") private String people; /** * 储粮粮情明细表 */ @Transient private List dtls; /** * 熏蒸备案方式 */ @Transient private List ways; /** * 熏蒸作业人员 */ @Transient private List peoples; }