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.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.io.Serializable; import java.util.Date; /** * 接口表-货位信息 */ @Data @Entity @Table(name = "API_1105") @EqualsAndHashCode(callSuper=false) public class Api1105 extends ApiParent implements Serializable { /** * */ private static final long serialVersionUID = -6967028172020353365L; @Id @PropertyDef(label = "货位代码" ) @Column(name = "hwdm", length = 30) private String hwdm; @PropertyDef(label = "货位名称" ) @Column(name = "hwmc", length = 256) private String hwmc; @PropertyDef(label = "廒间代码" ) @Column(name = "ajdm", length = 28) private String ajdm; @PropertyDef(label = "货位启用日期" ) @JSONField(format = "yyyy-MM-dd") @Column(name = "hwqyrq", nullable = false) private Date hwqyrq; @PropertyDef(label = "货位容量" ) @Column(name = "hwrl", precision = 20, scale = 6) private double hwrl; @PropertyDef(label = "保管单位" ) @Column(name = "bgdw", length = 128) private String bgdw; @PropertyDef(label = "保管员" ) @Column(name = "bgy", length = 128) private String bgy; @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; }