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_1209") @EqualsAndHashCode(callSuper = false) public class Api1209 extends ApiParent implements Serializable { /** * */ private static final long serialVersionUID = -8920645721282111145L; public static String SORT_PROP = "sydh"; @Id @PropertyDef(label = "损溢单号" ) @Column(name = "sydh", length = 60) private String sydh; @PropertyDef(label = "货位代码" ) @Column(name = "hwdm", length = 30) private String hwdm; @PropertyDef(label = "统一货位编码" ) @Column(name = "tyhwbm", length = 28) private String tyhwbm; @JSONField(format = "yyyy-MM-dd") @PropertyDef(label = "业务日期" ) @Column(name = "ywrq") private Date ywrq; @PropertyDef(label = "入库净重(公斤)" ) @Column(name = "rkjz", precision = 20, scale = 6) private double rkjz; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "入库时间" ) @Column(name = "rksj") private Date rksj; @PropertyDef(label = "入库水分(%)" ) @Column(name = "rksf", precision = 20, scale = 6) private double rksf; @PropertyDef(label = "入库杂质(%)" ) @Column(name = "rkzz", precision = 20, scale = 6) private double rkzz; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "出库时间" ) @Column(name = "cksj") private Date cksj; @PropertyDef(label = "出库净重(公斤)" ) @Column(name = "ckjz", precision = 20, scale = 6) private double ckjz; @PropertyDef(label = "出库水分(%)" ) @Column(name = "cksf", precision = 20, scale = 6) private double cksf; @PropertyDef(label = "出库杂质(%)" ) @Column(name = "ckzz", precision = 20, scale = 6) private double ckzz; @PropertyDef(label = "净重损溢数量(公斤)" ) @Column(name = "jzsysl", precision = 20, scale = 6) private double jzsysl; @PropertyDef(label = "其中:成货位前损耗(公斤)") @Column(name = "qzchwqsh", precision = 20, scale = 6) private double qzchwqsh; @PropertyDef(label = "其中水杂减量(公斤)" ) @Column(name = "qzszkl", precision = 20, scale = 6) private double qzszkl; @PropertyDef(label = "其中:自然损耗定额(公斤)" ) @Column(name = "qzzrshde", precision = 20, scale = 6) private double qzzrshde; @PropertyDef(label = "超耗数量(公斤)" ) @Column(name = "chsl", precision = 20, scale = 6) private double chsl; @PropertyDef(label = "损益是否正常" ) @Column(name = "sysfzc", length = 1) private String sysfzc; @PropertyDef(label = "损溢类型",description = "1:损耗,2:损失,3.其他") @Column(name = "sylx",length = 1) private String sylx; @PropertyDef(label = "损溢环节",description = "1:入库损溢,2:出库损溢,3.其他") @Column(name = "syhj",length = 1) private String syhj; @PropertyDef(label = "损溢原因" ) @Column(name = "syyy", length = 400) private String syyy; @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; }