package com.fzzy.api.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; /** * 接口表-库区图仓房点位标注 */ @Data @Entity @Table(name = "API_1110") public class Api1110 implements Serializable { /** * */ private static final long serialVersionUID = 2592349036859314053L; @Id @PropertyDef(label = "货位代码" ) @Column(name = "hwdm", length = 30) private String hwdm; @PropertyDef(label = "统一货位编码" ) @Column(name = "tyhwbm", length = 28) private String tyhwbm; @PropertyDef(label = "单位代码" ) @Column(name = "dwdm", length = 18) private String dwdm; @PropertyDef(label = "统一库区编码" ) @Column(name = "tykqbm", length = 20) private String tykqbm; @PropertyDef(label = "库区代码" ) @Column(name = "kqdm", length = 21) private String kqdm; @PropertyDef(label = "单位名称" ) @Column(name = "dwmc", length = 256) private String dwmc; @PropertyDef(label = "库区名称" ) @Column(name = "kqmc", length = 256) private String kqmc; @PropertyDef(label = "货位名称" ) @Column(name = "hwmc", length = 256) private String hwmc; @PropertyDef(label = "货位相对位置" ) @Column(name = "hwxdwz", length = 20) private String hwxdwz; @PropertyDef(label = "货位位置样式" ) @Column(name = "hwwzys", length = 256) private String hwwzys; @PropertyDef(label = "备注" ) @Column(name = "bz", length = 1024) 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", nullable = false) private Date zhgxsj; @JSONField(serialize = false) @PropertyDef(label = "业务id") @Column(name = "bizId", length = 40) private String bizId; }