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.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import java.io.Serializable; import java.util.Date; /** * 接口表-粮食库存 */ @Data @Entity @Table(name = "API_1208") @EqualsAndHashCode(callSuper = false) public class Api1208 extends ApiParent implements Serializable { public static String SORT_PROP = "rcsj"; /** * */ private static final long serialVersionUID = -5548540780391804729L; @JSONField(serialize = false) @Id @Column(name = "id", length = 40) private String 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 = "lspzdm", length = 7) private String lspzdm; @PropertyDef(label = "粮食性质代码") @Column(name = "lsxzdm", length = 3) private String lsxzdm; @PropertyDef(label = "粮食等级代码") @Column(name = "lsdjdm", length = 2) private String lsdjdm; @PropertyDef(label = "收获年度") @Column(name = "shnd", length = 4) private String shnd; @PropertyDef(label = "国别") @Column(name = "gb", length = 6) private String gb; @PropertyDef(label = "产地") @Column(name = "cd", length = 6) private String cd; @PropertyDef(label = "保管员") @Column(name = "bgy", length = 64) private String bgy; @PropertyDef(label = "粮权归属单位代码") @Column(name = "lqgsdwdm", length = 18) private String lqgsdwdm; @PropertyDef(label = "粮权归属单位统一编码") @Column(name = "lqgstydwbm", length = 20) private String lqgstydwbm; @JSONField(serialize = false) @PropertyDef(label = "粮权行政区划代码") @Column(name = "lqxzqhdm", length = 18) private String lqxzqhdm; @PropertyDef(label = "管理方式") @Column(name = "glfs", length = 2) private String glfs; @PropertyDef(label = "收储地点") @Column(name = "scdd", length = 1) private String scdd; @PropertyDef(label = "储粮方式") @Column(name = "clfs", length = 1) private String clfs; @PropertyDef(label = "货位(油罐)状态") @Column(name = "hwzt", length = 1) private String hwzt; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "入仓时间") @Column(name = "rcsj") private Date rcsj; @JSONField(format = "yyyy-MM-dd") @PropertyDef(label = "封仓日期") @Column(name = "fcrq") private Date fcrq; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "出仓完成时间") @Column(name = "ccwcsj") private Date ccwcsj; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "清仓时间") @Column(name = "qcsj") private Date qcsj; @PropertyDef(label = "实际数量(公斤)") @Column(name = "sjsl", precision = 20, scale = 6) private double sjsl; @PropertyDef(label = "计价数量(公斤)") @Column(name = "jjsl", precision = 20, scale = 6) private double jjsl; @PropertyDef(label = "成货位前损耗(公斤)") @Column(name = "chwqsh", precision = 20, scale = 6) private double chwqsh; @PropertyDef(label = "包存粮包数(包)") @Column(name = "bclbs") private Integer bclbs; @PropertyDef(label = "实际装粮线高(米)") @Column(name = "sjzlxg", precision = 20, scale = 6) private double sjzlxg; @PropertyDef(label = "粮堆体积(立方米)") @Column(name = "ldtj", precision = 20, scale = 6) private double ldtj; @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; }