package com.fzzy.api.entity; import java.io.Serializable; import java.util.Date; import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.*; /** * 接口表-廒间信息 * * @author chen * @date 2022-09-02 14:18 */ @Data @Entity @Table(name = "API_1104") @EqualsAndHashCode(callSuper = false) public class Api1104 implements Serializable { private static final long serialVersionUID = 9157617424050247565L; /*----------国标字段----------*/ @Id @PropertyDef(label = "廒间代码") @Column(name = "ajdh", length = 28) private String ajdh; @PropertyDef(label = "统一廒间编码") @Column(name = "tyajbm", length = 26) private String tyajbm; @PropertyDef(label = "廒间名称") @Column(name = "ajmc", length = 256) private String ajmc; @PropertyDef(label = "仓房(或油罐)编码") @Column(name = "cfbh", length = 25) private String cfbh; @PropertyDef(label = "廒间长度") @Column(name = "ajcd", precision = 8, scale = 4) private Double ajcd; @PropertyDef(label = "廒间宽度") @Column(name = "ajkd", precision = 8, scale = 4) private Double ajkd; @PropertyDef(label = "廒间高度") @Column(name = "ajgd", precision = 8, scale = 4) private Double ajgd; @PropertyDef(label = "廒间设计仓容") @Column(name = "ajsjcr", precision = 20, scale = 3) private Double ajsjcr; @JSONField(format = "yyyy-MM-dd") @PropertyDef(label = "廒间启用日期") @Column(name = "ajqyrq") private Date ajqyrq; @PropertyDef(label = "廒间状态") @Column(name = "ajzt", length = 1) private String ajzt; @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 = "bjw", length = 40) private String bjw; /*----------接口系统自定义字段----------*/ @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; }