package com.fzzy.api.entity; import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.io.Serializable; import java.util.Date; /** * @Description 储备粮倒仓验收表 * @Author CZT * @Date 2025/10/31 11:40 */ @Data @Entity @Table(name = "API_1216") public class Api1216 extends ApiParent implements Serializable { public static String SORT_PROP = "dcysdh"; @Id @PropertyDef(label = "倒仓验收单号", description = "验收申请日期yyyyMMdd + 4位顺序号") @Column(name = "dcysdh", length = 14) private String dcysdh; @PropertyDef(label = "承储单位" ) @Column(name = "ccdw", length = 256) private String ccdw; @PropertyDef(label = "计划文号") @Column(name = "jhwh", length = 14) private String jhwh; @PropertyDef(label = "倒出货位代码" ) @Column(name = "dchwbm", length = 30) private String dchwbm; @PropertyDef(label = "倒出粮食品种代码" ) @Column(name = "dclspzdm", length = 7) private String dclspzdm; @PropertyDef(label = "倒出粮食等级代码" ) @Column(name = "dclsdjdm", length = 2) private String dclsdjdm; @PropertyDef(label = "倒出粮食生产年度" ) @Column(name = "dclsscnd", length = 4) private String dclsscnd; @PropertyDef(label = "倒出粮食数量(吨)" ) @Column(name = "dclssl", precision = 20, scale = 3) private Double dclssl; @PropertyDef(label = "倒入货位代码" ) @Column(name = "drhwdm", length = 30) private String drhwbm; @PropertyDef(label = "倒入粮食品种代码" ) @Column(name = "drlspzdm", length = 7) private String drlspzdm; @PropertyDef(label = "倒入粮食等级代码" ) @Column(name = "drlsdjdm", length = 2) private String drlsdjdm; @PropertyDef(label = "倒入粮食数量(吨)" ) @Column(name = "drlssl", precision = 20, scale = 3) private Double drlssl; @PropertyDef(label = "倒入粮食库存成本(元/吨)" ) @Column(name = "drlskccb", precision = 20, scale = 3) private Double drlskccb; @PropertyDef(label = "倒入粮食生产年度" ) @Column(name = "drlsscnd", length = 4) private String drlsscnd; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "入库时间") @Column(name = "rksj") private Date rksj; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "倒仓完成时间") @Column(name = "wcsj") private Date wcsj; @PropertyDef(label = "验收结论") @Column(name = "ysjl", length = 128) private String ysjl; @JSONField(format = "yyyy-MM-dd") @PropertyDef(label = "验收时间") @Column(name = "yssj") private Date yssj; @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; @PropertyDef(label = "操作标志") @Column(name = "czbz", length = 1) private String czbz; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "最后更新时间") @Column(name = "zhgxsj") private Date zhgxsj; @PropertyDef(label = "验收视频照片文件地址") @Column(name = "wjdz") @JSONField(serialize = false) private String wjdz; }