package com.fzzy.async.fzzy35.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 czt
|
*/
|
@Entity
|
@Data
|
@Table(name = "D_DRUG_LOG_APPLY")
|
public class Fz35DrugLogApply implements Serializable {
|
|
@Id
|
@Column(name = "xzbm", length = 4)
|
@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 = "dwdm", length = 18)
|
@PropertyDef(label = "单位代码", description = "企业信用代码")
|
private String dwdm;
|
|
@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 = "FILE_STORAGE_ID_", length = 19)
|
@PropertyDef(label = "文件存储ID")
|
private String fileStorageId;
|
|
@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<Fz40DrugLogDtl> drugLogDtls;
|
|
/**
|
* 熏蒸备案方式
|
*/
|
@Transient
|
private List<Fz40DrugLogWay> drugLogWays;
|
|
/**
|
* 熏蒸作业人员
|
*/
|
@Transient
|
private List<Fz40DrugLogPeople> drugLogPeople;
|
|
}
|