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.*; import java.io.Serializable; import java.util.Date; /** * 接口表-粮食入库信息 */ @Data @Entity @Table(name = "API_1202") @EqualsAndHashCode(callSuper = false) public class Api1202 extends ApiParent implements Serializable { /** * */ private static final long serialVersionUID = 760284619085936798L; public static String SORT_PROP = "rkywdh"; // @Id // @JSONField(serialize = false) // @Column(name = "id", length = 40) // private String id; //12 位数字组成,第 1-2 位为业务代码(14代表粮食入库),第 3-8 位依次为年份的后两位、2 位月份、2 位日期,后四位为顺序码。例如:141605041234 @Id @PropertyDef(label = "入库业务单号") @Column(name = "rkywdh", length = 12, nullable = false) private String rkywdh; @PropertyDef(label = "货位代码") @Column(name = "hwdm", length = 30, nullable = false) private String hwdm; @PropertyDef(label = "业务类型", description = "2:入库(默认)") @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 = "jhmxh", length = 50) private String jhmxh; @PropertyDef(label = "合同号") @Column(name = "hth", length = 64) private String hth; @PropertyDef(label = "粮权归属单位代码") @Column(name = "lqgsdwdm", length = 18) private String lqgsdwdm; @PropertyDef(label = "承运人") @Column(name = "cyr", length = 64) private String cyr; @PropertyDef(label = "联系电话") @Column(name = "lxdh", length = 32) private String lxdh; @PropertyDef(label = "身份证号") @Column(name = "sfzh", length = 18) private String sfzh; @PropertyDef(label = "详细地址") @Column(name = "xxdz", length = 256) private String xxdz; @PropertyDef(label = "运输工具") @Column(name = "ysgj", length = 1) private String ysgj; @PropertyDef(label = "车船号") @Column(name = "cch", length = 32) private String cch; @PropertyDef(label = "车船号类型") @Column(name = "cchlx", length = 2) private String cchlx; @PropertyDef(label = "挂车号") @Column(name = "gch", length = 7) private String gch; @PropertyDef(label = "装粮地点") @Column(name = "ldd", length = 256) private String ldd; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "登记时间") @Column(name = "djsj") private Date djsj; @PropertyDef(label = "登记门岗人员姓名") @Column(name = "djmgryxm", length = 64) private String djmgryxm; @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", precision = 20, scale = 6) 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", precision = 20, scale = 6) 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", precision = 20, scale = 6) private double bzbdbz = 25; @PropertyDef(label = "标准包件数(件)") @Column(name = "bzbjs") private Integer bzbjs; @PropertyDef(label = "质检扣量(小计:公斤)") @Column(name = "zjklxj", precision = 20, scale = 6) private double zjklxj; @PropertyDef(label = "其中:水分增扣量(公斤)") @Column(name = "qzsfzkl", precision = 20, scale = 6) private double qzsfzkl; @PropertyDef(label = "其中:杂质增扣量(公斤)") @Column(name = "qzzzzkl", precision = 20, scale = 6) private double qzzzzkl; @PropertyDef(label = "其中:不完善粒扣量(公斤)") @Column(name = "qzbwslkl", precision = 20, scale = 6) private double qzbwslkl; @PropertyDef(label = "其中:互混扣量(公斤)") @Column(name = "qzhhkl", precision = 20, scale = 6) private double qzhhkl; @PropertyDef(label = "其中:生霉粒扣量(公斤)") @Column(name = "qzsmlkl", precision = 20, scale = 6) private double qzsmlkl; @PropertyDef(label = "其中:整精米粒扣量(公斤)") @Column(name = "qzzjmlkl", precision = 20, scale = 6) private double qzzjmlkl; @PropertyDef(label = "其中:谷外糙米扣量(公斤)") @Column(name = "qzgwcmkl", precision = 20, scale = 6) private double qzgwcmkl; @PropertyDef(label = "其中黄粒米扣量(公斤)") @Column(name = "qzhlmkl", precision = 20, scale = 6) private double qzhlmkl; @PropertyDef(label = "其中:其他扣量(公斤)") @Column(name = "qzqtkl", precision = 20, scale = 6) private double qzqtkl; @PropertyDef(label = "整理费用折扣量(公斤)") @Column(name = "zlfyzkl", precision = 20, scale = 6) private double zlfyzkl; @PropertyDef(label = "包装物扣量(公斤)") @Column(name = "bzwkl", precision = 20, scale = 6) private double bzwkl; @PropertyDef(label = "其他扣量(公斤)") @Column(name = "qtkl", precision = 20, scale = 6) private double qtkl; @PropertyDef(label = "扣量原因") @Column(name = "klyy", length = 512) private String klyy; @PropertyDef(label = "现场扣量(公斤)") @Column(name = "xckl", precision = 20, scale = 6) private double xckl; @PropertyDef(label = "增扣价(公斤)") @Column(name = "zkj", precision = 20, scale = 6) private double zkj; @PropertyDef(label = "增扣价原因") @Column(name = "zkhyy", length = 27) private String zkhyy; @PropertyDef(label = "净重(公斤)") @Column(name = "jz", precision = 20, scale = 6) private double jz; @PropertyDef(label = "装卸作业单位") @Column(name = "zxzydw", length = 256) private String zxzydw; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "出门时间") @Column(name = "cmsj") private Date cmsj; @PropertyDef(label = "出门确认门岗人员姓名") @Column(name = "cmqrmgryxm", length = 64) private String cmqrmgryxm; @PropertyDef(label = "入库结算单号") @Column(name = "rkjsdh", length = 33) private String rkjsdh; @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; }