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 2024/11/1 10:26 */ @Data @Entity @Table(name = "API_1213") public class Api1213 implements Serializable { public static String SORT_PROP = "fcrq"; @Id @PropertyDef(label = "封仓确认单号", description = "2位业务编码(21代表封仓)+yyMMdd+4位顺序码,212405040001") @Column(name = "fcqrdh", length = 14) private String fcqrdh; @PropertyDef(label = "货位代码" ) @Column(name = "hwdm", length = 30) private String hwdm; @PropertyDef(label = "统一货位编码") @Column(name = "tyhwbm", length = 28) private String tyhwbm; @PropertyDef(label = "封仓日期") @JSONField(format = "yyyy-MM-dd") @Column(name = "fcrq") private Date fcrq; @PropertyDef(label = "粮食品种代码") @Column(name = "lspzdm", length = 7) private String lspzdm; @PropertyDef(label = "粮食性质代码") @Column(name = "lsxzdm", length = 3) private String lsxzdm; @PropertyDef(label = "粮食等级代码") @Column(name = "lsdjdm", length = 2) private String lsdjdm; @PropertyDef(label = "收获年度") @Column(name = "shnd", length = 4) private String shnd; @PropertyDef(label = "国别") @Column(name = "gb", length = 10) private String gb; @PropertyDef(label = "产地") @Column(name = "cd", length = 6) private String cd; @PropertyDef(label = "保管员") @Column(name = "bgy", length = 20) private String bgy; @PropertyDef(label = "封仓数量") @Column(name = "fcsl") private Double fcsl; @PropertyDef(label = "封仓申请人") @Column(name = "fcsqr", length = 40) private String fcsqr; @PropertyDef(label = "部门审核人") @Column(name = "bmshr", length = 40) private String bmshr; @PropertyDef(label = "领导审核人") @Column(name = "ldshr", length = 40) private String ldshr; @PropertyDef(label = "备注") @Column(name = "bz", length = 200) private String bz; @PropertyDef(label = "操作标志") @Column(name = "czbz", length = 1) private String czbz; @PropertyDef(label = "最后更新时间") @JSONField(format = "yyyy-MM-dd HH:mm:ss") @Column(name = "zhgxsj") private Date zhgxsj; @JSONField(serialize = false) @PropertyDef(label = "业务id") @Column(name = "bizId", length = 40) private String bizId; @JSONField(serialize = false) @PropertyDef(label = "库区代码") @Column(name = "kqdm", length = 21) private String kqdm; @JSONField(serialize = false) @PropertyDef(label = "同步时间", description = "从粮库系统同步到接口管理中心的时间") @Column(name = "syncTime") private Date syncTime; }