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_9114") @EqualsAndHashCode(callSuper = false) public class Api9114 extends ApiParent implements Serializable { private static final long serialVersionUID = 732306685977570111L; public static String SORT_PROP = "rkywdh"; @Id @PropertyDef(label = "入库业务单号") @Column(name = "rkywdh", length = 12) private String rkywdh; @PropertyDef(label = "货位代码") @Column(name = "hwdm", length = 30) private String hwdm; @PropertyDef(label = "业务类型", description = "2:入库(默认);3:移库储存入库") @Column(name = "ywlx", length = 1) private String ywlx = "2"; @JSONField(format = "yyyy-MM-dd") @PropertyDef(label = "业务日期") @Column(name = "ywrq") private Date ywrq; @PropertyDef(label = "客户名称") @Column(name = "khmc", length = 64) private String khmc; @PropertyDef(label = "客户类型", description = "1:个人;2:单位") @Column(name = "khlx", length = 1) private String khlx; @PropertyDef(label = "联系电话") @Column(name = "lxdh", length = 32) private String lxdh; @PropertyDef(label = "客户证件") @Column(name = "khzj", length = 18) private String khzj; @PropertyDef(label = "客户地址") @Column(name = "xxdz", length = 256) private String xxdz; @PropertyDef(label = "身份证号") @Column(name = "sfzh", length = 18) private String sfzh; @PropertyDef(label = "运输工具") @Column(name = "ysgj", length = 1) private String ysgj; @PropertyDef(label = "车船号") @Column(name = "cch", length = 32) private String cch; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "登记时间") @Column(name = "djsj") private Date djsj; @PropertyDef(label = "粮食品种代码") @Column(name = "lspzdm", length = 7) private String lspzdm; @PropertyDef(label = "粮食性质代码") @Column(name = "lsxzdm", length = 3) private String lsxzdm; @PropertyDef(label = "收获年度") @Column(name = "shnd", length = 4) private String shnd; @PropertyDef(label = "产地代码") @Column(name = "cddm", length = 6) private String cddm; @PropertyDef(label = "检斤类型") @Column(name = "jjlx", length = 1) private String jjlx; @PropertyDef(label = "毛重(公斤)") @Column(name = "mz") private double mz; @PropertyDef(label = "毛重监磅员") @Column(name = "mzjby", length = 64) private String mzjby; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "毛重计量时间") @Column(name = "mzjlsj") private Date mzjlsj; @PropertyDef(label = "毛重计量员") @Column(name = "mzjly", length = 64) private String mzjly; @PropertyDef(label = "值仓员") @Column(name = "zcy", length = 64) private String zcy; @PropertyDef(label = "皮重(公斤)") @Column(name = "pz") private double pz; @PropertyDef(label = "皮重监磅员") @Column(name = "pzjby", length = 64) private String pzjby; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "皮重计量时间") @Column(name = "pzjlsj") private Date pzjlsj; @PropertyDef(label = "皮重计量员") @Column(name = "pzjly", length = 64) private String pzjly; @PropertyDef(label = "包装物") @Column(name = "bzw", length = 1) private String bzw; @PropertyDef(label = "标准包单包重(公斤)") @Column(name = "bzbdbz") private Double bzbdbz = 25.0; @PropertyDef(label = "标准包件数(件)") @Column(name = "bzbjs") private Integer bzbjs; @PropertyDef(label = "质检扣量(小计:公斤)") @Column(name = "zjklxj") private Double zjklxj; @PropertyDef(label = "其中:水分增扣量(公斤)") @Column(name = "qzsfzkl") private Double qzsfzkl; @PropertyDef(label = "其中:杂质增扣量(公斤)") @Column(name = "qzzzzkl") private Double qzzzzkl; @PropertyDef(label = "其中:不完善粒扣量(公斤)") @Column(name = "qzbwslkl") private Double qzbwslkl; @PropertyDef(label = "其中:互混扣量(公斤)") @Column(name = "qzhhkl") private Double qzhhkl; @PropertyDef(label = "其中:生霉粒扣量(公斤)") @Column(name = "qzsmlkl") private Double qzsmlkl; @PropertyDef(label = "其中:整精米粒扣量(公斤)") @Column(name = "qzzjmlkl") private Double qzzjmlkl; @PropertyDef(label = "其中:谷外糙米扣量(公斤)") @Column(name = "qzgwcmkl") private Double qzgwcmkl; @PropertyDef(label = "其中黄粒米扣量(公斤)") @Column(name = "qzhlmkl") private Double qzhlmkl; @PropertyDef(label = "其中:其他扣量(公斤)") @Column(name = "qzqtkl") private Double qzqtkl; @PropertyDef(label = "整理费用折扣量(公斤)") @Column(name = "zlfyzkl") private Double zlfyzkl; @PropertyDef(label = "包装物扣量(公斤)") @Column(name = "bzwkl") private Double bzwkl; @PropertyDef(label = "其他扣量(公斤)") @Column(name = "qtkl") private Double qtkl; @PropertyDef(label = "扣量原因") @Column(name = "klyy", length = 512) private String klyy; @PropertyDef(label = "现场扣量(公斤)") @Column(name = "xckl") private Double xckl; @PropertyDef(label = "粮食品质") @Column(name = "lspz", length = 1) private String lspz; @PropertyDef(label = "粮食品名") @Column(name = "lspm", length = 30) private String lspm; @PropertyDef(label = "净重(公斤)") @Column(name = "jz") private Double jz; @PropertyDef(label = "结算单价") @Column(name = "jsdj") private Double jsdj; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "出门时间") @Column(name = "cmsj") private Date cmsj; @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 = "bjw", length = 32) 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; }