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_1206") @EqualsAndHashCode(callSuper = false) public class Api1206 extends ApiParent implements Serializable { public static String SORT_PROP = "ckjsdh"; /** * */ private static final long serialVersionUID = -8778664614878279565L; @Id @PropertyDef(label = "出库结算单号" ) @Column(name = "ckjsdh", length = 33) private String ckjsdh; @PropertyDef(label = "合同号" ) @Column(name = "hth", length = 64) private String hth; @PropertyDef(label = "结算数量(公斤)" ) @Column(name = "jssl", precision = 20, scale = 6) private double jssl; @PropertyDef(label = "结算单价(元/公斤)" ) @Column(name = "jsdj", precision = 20, scale = 6) private double jsdj; @PropertyDef(label = "结算金额(元)" ) @Column(name = "jsje", precision = 20, scale = 6) private double jsje; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "结算时间" ) @Column(name = "jssj") private Date jssj; @PropertyDef(label = "结算方式" ) @Column(name = "jsfs", length = 1) private String jsfs; @PropertyDef(label = "付款人" ) @Column(name = "fkr", length = 256) private String fkr; @PropertyDef(label = "银行行别代码" ) @Column(name = "yhhbdm", length = 3) private String yhhbdm; @PropertyDef(label = "开户行号" ) @Column(name = "khhh", length = 32) private String khhh; @PropertyDef(label = "开户行名称" ) @Column(name = "khhmc", length = 128) private String khhmc; @PropertyDef(label = "银行账号" ) @Column(name = "yhzh", length = 32) private String yhzh; @PropertyDef(label = "发票号码" ) @Column(name = "fphm", length = 10) private String fphm; @PropertyDef(label = "发票状态" ) @Column(name = "fpzt", length = 1) private String fpzt; @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; @JSONField(serialize = false) @PropertyDef(label = "货位代码") @Column(name = "hwdm", length = 30) private String hwdm; }