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_1210") @EqualsAndHashCode(callSuper = false) public class Api1210 extends ApiParent implements Serializable { public static String SORT_PROP = "lsxzzbdh"; /** * */ private static final long serialVersionUID = -8223096234800082280L; @Id @PropertyDef(label = "粮食性质转变单号") @Column(name = "lsxzzbdh", length = 41) private String lsxzzbdh; @PropertyDef(label = "货位代码") @Column(name = "hwdm", length = 30) private String hwdm; @PropertyDef(label = "统一货位编码" ) @Column(name = "tyhwbm", length = 28) private String tyhwbm; @PropertyDef(label = "粮食数量(公斤)") @Column(name = "lssl", precision = 20, scale = 6) private double lssl; @PropertyDef(label = "划转数量(公斤)") @Column(name = "hzsl", precision = 20, scale = 6) private double hzsl; @PropertyDef(label = "批准文号") @Column(name = "bzwh", length = 128) private String bzwh; @PropertyDef(label = "粮食品种代码") @Column(name = "lspzdm", length = 7) private String lspzdm; @PropertyDef(label = "划转前粮食性质代码") @Column(name = "hzqlsxzdm", length = 3) private String hzqlsxzdm; @PropertyDef(label = "划转后粮食性质代码" ,required= true) @Column(name = "hzhlsxzdm", length = 3) private String hzhlsxzdm; @JSONField(format = "yyyy-MM-dd") @PropertyDef(label = "划转日期") @Column(name = "hzrq") private Date hzrq; @PropertyDef(label = "仓储审核人" ) @Column(name = "ccshr", length = 64) private String ccshr; @PropertyDef(label = "质检审核人" ) @Column(name = "zjshr", length = 64) private String zjshr; @PropertyDef(label = "统计审核人" ) @Column(name = "tjshr", length = 64) private String tjshr; @PropertyDef(label = "会计审核人" ) @Column(name = "kjshr", length = 64) private String kjshr; @PropertyDef(label = "领导审核人" ) @Column(name = "ldshr", length = 64) private String ldshr; @PropertyDef(label = "备注" ) @Column(name = "bz", length = 400) private String bz; @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 = "jhmxdh", length = 400) private String jhmxdh; }