package com.fzzy.async.fzzy61.entity; import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import javax.persistence.*; import java.io.Serializable; import java.util.Date; /** * @Description 空罐验收 * @Author CZT * @Date 2025/11/04 20:09 */ @Data @Entity @Table(name = "D_OIL_EMPTY_CHECK") public class Fz61OilEmptyCheck implements Serializable { public static String SORT_PROP = "kgysdh"; @Id @PropertyDef(label = "空罐验收单号", description = "验收申请日期yyyyMMdd + 4位顺序号") @Column(name = "kgysdh", length = 14) private String kgysdh; @Column(name = "COMPANY_ID_", length = 10) @PropertyDef(label = "组织编码") private String companyId; @Column(name = "DEPT_ID_", length = 20) @PropertyDef(label = "库区代码") private String deptId; @Column(name = "DEPOT_ID_", length = 30) @PropertyDef(label = "仓库编码", description = "目前上海使用") private String depotId; @PropertyDef(label = "拟存品种代码") @Column(name = "ncpzdm", length = 7) private String ncpzdm; @PropertyDef(label = "设计灌容") @Column(name = "sjgr", precision = 20, scale = 3) private Double sjgr; @PropertyDef(label = "实际储油品种最大罐容") @Column(name = "sjcyzdgr", precision = 20, scale = 3) private Double sjcyzdgr; @PropertyDef(label = "拟储油数量") @Column(name = "jysj", precision = 20, scale = 3) private Double jysj; @PropertyDef(label = "是否擅自改变油罐结构") @Column(name = "sfszgdygjg", length = 128) private String sfszgdygjg; @PropertyDef(label = "油罐有无渗漏锈蚀") @Column(name = "ygywslxs", length = 128) private String ygywslxs; @PropertyDef(label = "罐基有无开裂、下沉现象") @Column(name = "gjywklxcxx", length = 128) private String gjywklxcxx; @PropertyDef(label = "油罐地坪是否完全硬化") @Column(name = "ygdpsfwqyh", length = 128) private String ygdpsfwqyh; @PropertyDef(label = "护油堤是否存在开裂缺口等情况") @Column(name = "hydsfzc", length = 128) private String hydsfzc; @PropertyDef(label = "罐区内排水有无阀门控制") @Column(name = "gtfmsfzc", length = 128) private String gtfmsfzc; @PropertyDef(label = "罐内是否清洁") @Column(name = "gnsfqj", length = 128) private String gnsfqj; @PropertyDef(label = "爬梯是否安全") @Column(name = "ptsfaq", length = 128) private String ptsfaq; @PropertyDef(label = "灌顶安全护栏是否完好") @Column(name = "gdaqhlsfwh", length = 128) private String gdaqhlsfwh; @PropertyDef(label = "油罐区是否处于低洼点") @Column(name = "gqsfcydwd", length = 128) private String gqsfcydwd; @PropertyDef(label = "验收时间") @Column(name = "yssj") private Date yssj; @PropertyDef(label = "验收结论") @Column(name = "ysjl", length = 128) private String ysjl; @PropertyDef(label = "整改意见") @Column(name = "zgyj", length = 128) private String zgyj; @PropertyDef(label = "承储单位负责人") @Column(name = "ccdwfzr", length = 128) private String ccdwfzr; @PropertyDef(label = "验收人") @Column(name = "ysr", length = 128) private String ysr; @PropertyDef(label = "备注") @Column(name = "bz", length = 200) private String bz; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "最后更新时间") @Column(name = "zhgxsj") private Date zhgxsj; /** * --------附件-------- **/ @Column(name = "FILE_ID_", length = 30) @PropertyDef(label = "照片id") private String fileId; @Column(name = "FILE_NAME_", length = 50) @PropertyDef(label = "照片名称") private String fileName; @Column(name = "FILE_TIME_") @PropertyDef(label = "照片上传时间") private Date fileTime; //全路径 @Transient private String imgFilePath; }