package com.fzzy.api.entity; import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.*; import java.io.Serializable; import java.util.Date; /** * 接口表-轮换计划明细信息数据表 * * @author chen * @date 2022-09-02 16:03 */ @Data @Entity @Table(name = "API_1404") @EqualsAndHashCode(callSuper=false) public class Api1404 implements Serializable { /** * */ private static final long serialVersionUID = 1L; @Id @PropertyDef(label = "计划明细单号" ) @Column(name = "jhmxdh", length = 50, nullable = false) private String jhmxdh; @PropertyDef(label = "轮换计划单号" ) @Column(name = "lhjhdh", length = 25, nullable = false) private String lhjhdh; @PropertyDef(label = "粮食品种代码" ) @Column(name = "lspzdm", length = 7, nullable = false) private String lspzdm; @PropertyDef(label = "粮食等级代码" ) @Column(name = "lsdjdm", length = 2, nullable = false) private String lsdjdm; @PropertyDef(label = "粮食性质代码" ) @Column(name = "lsxzdm", length = 3, nullable = false) private String lsxzdm; @PropertyDef(label = "收获年度" ) @Column(name = "shnd", length = 4, nullable = false) private String shnd; @PropertyDef(label = "轮换货位代码" ) @Column(name = "lhhwdm", length = 30) private String lhhwdm; @PropertyDef(label = "轮换数量" ) @Column(name = "lhsl", precision = 20, scale = 6, nullable = false) private double lhsl; @PropertyDef(label = "轮换类型" ) @Column(name = "lhlx", length = 1, nullable = false) private String lhlx; @PropertyDef(label = "操作标志" ) @Column(name = "czbz", length = 1, nullable = false) private String czbz; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "最后更新时间" ) @Column(name = "zhgxsj", nullable = false) 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; }