package com.fzzy.api.entity;
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
import com.bstek.dorado.annotation.PropertyDef;
|
|
import com.fzzy.conf.NumberSerializer;
|
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.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* 接口表-合同信息
|
*/
|
@Data
|
@Entity
|
@Table(name = "API_1201")
|
@EqualsAndHashCode(callSuper = false)
|
public class Api1201 implements Serializable {
|
|
|
public static String SORT_PROP = "hth";
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = -3432123567533107674L;
|
|
@Id
|
@PropertyDef(label = "合同号")
|
@Column(name = "hth", length = 64)
|
private String hth;
|
|
@PropertyDef(label = "合同名称")
|
@Column(name = "htmc", length = 128)
|
private String htmc;
|
|
@PropertyDef(label = "单位代码")
|
@Column(name = "dwdm", length = 18)
|
private String dwdm;
|
|
@PropertyDef(label = "统一单位编码")
|
@Column(name = "tydwbm", length = 20)
|
private String tydwbm;
|
|
@PropertyDef(label = "业务类别")
|
@Column(name = "ywlx", length = 1)
|
private String ywlx;
|
|
@PropertyDef(label = "合同种类" ,description = "1:销售合同,2:采购合同,3:委托收储合同,4:委托收购合同")
|
@Column(name = "htzl", length = 1)
|
private String htzl;
|
|
@PropertyDef(label = "客户类型")
|
@Column(name = "khlx", length = 1)
|
private String khlx;
|
|
@PropertyDef(label = "客户统一社会信用代码")
|
@Column(name = "khtyshxydm", length = 18)
|
private String khtyshxydm;
|
|
@PropertyDef(label = "客户名称")
|
@Column(name = "khmc", length = 256)
|
private String khmc;
|
|
@PropertyDef(label = "法定代表人")
|
@Column(name = "fddbr", length = 64)
|
private String fddbr;
|
|
@PropertyDef(label = "通讯地址")
|
@Column(name = "txdz", length = 512)
|
private String txdz;
|
|
@PropertyDef(label = "邮政编码")
|
@Column(name = "yzbm", length = 6)
|
private String yzbm;
|
|
@PropertyDef(label = "联系人姓名")
|
@Column(name = "lxrxm", length = 64)
|
private String lxrxm;
|
|
@PropertyDef(label = "联系电话")
|
@Column(name = "lxrdh", length = 20)
|
private String lxrdh;
|
|
@PropertyDef(label = "身份证号")
|
@Column(name = "sfzh", length = 18)
|
private String sfzh;
|
|
@PropertyDef(label = "电子信箱")
|
@Column(name = "dzyx", length = 64)
|
private String dzyx;
|
|
@JSONField(format = "yyyy-MM-dd")
|
@PropertyDef(label = "签订日期")
|
@Column(name = "qdrq")
|
private Date qdrq;
|
|
@JSONField(format = "yyyy-MM-dd")
|
@PropertyDef(label = "约定完成时间")
|
@Column(name = "ydwcsj")
|
private Date ydwcsj;
|
|
@PropertyDef(label = "验收方式")
|
@Column(name = "ysfs", length = 64)
|
private String ysfs;
|
|
@PropertyDef(label = "签订地点")
|
@Column(name = "qddd", length = 512)
|
private String qddd;
|
|
@PropertyDef(label = "粮食品种代码")
|
@Column(name = "lspzdm", length = 7)
|
private String lspzdm;
|
|
@PropertyDef(label = "粮食性质代码")
|
@Column(name = "lsxzdm", length = 3)
|
private String lsxzdm;
|
|
@PropertyDef(label = "合同单价")
|
@Column(name = "htdj", precision = 20, scale = 6)
|
private double htdj;
|
|
@PropertyDef(label = "约定购销粮食数量")
|
@Column(name = "ydgxlssl", precision = 20, scale = 6)
|
private double ydgxlssl;
|
|
@JSONField(serializeUsing = NumberSerializer.class)
|
@PropertyDef(label = "合同总金额")
|
@Column(name = "htzje", precision = 20, scale = 6)
|
private BigDecimal htzje;
|
|
/**
|
* 1:全额先款后货
|
* 2:按到款进度逐批发货
|
* 3:货到并确认后一次性付款
|
* 4:按到货批次逐批确认、逐批付款
|
*/
|
@PropertyDef(label = "付款方式")
|
@Column(name = "fkfs", length = 1)
|
private String fkfs;
|
|
@PropertyDef(label = "履约保证金")
|
@Column(name = "lybzj", precision = 20, scale = 6)
|
private double lybzj;
|
|
@JSONField(format = "yyyy-MM-dd")
|
@PropertyDef(label = "实际完成时间")
|
@Column(name = "sswcsj")
|
private Date sswcsj;
|
|
@JSONField(name = "Lysl")
|
@PropertyDef(label = "履约数量")
|
@Column(name = "lysl", precision = 20, scale = 6)
|
private double lysl;
|
|
@JSONField(name = "Lyl")
|
@PropertyDef(label = "履约率")
|
@Column(name = "lyl", precision = 20, scale = 6)
|
private double lyl;
|
|
@JSONField(name = "Jsjg")
|
@PropertyDef(label = "结算价格")
|
@Column(name = "jsjg", precision = 20, scale = 6)
|
private double jsjg;
|
|
@JSONField(name = "Jszje", serializeUsing = NumberSerializer.class)
|
@PropertyDef(label = "结算总金额")
|
@Column(name = "jszje", precision = 20, scale = 6)
|
private BigDecimal jszje;
|
|
@PropertyDef(label = "结算与合同一致性")
|
@Column(name = "jsyhtyzx", length = 1)
|
private String jsyhtyzx;
|
|
@PropertyDef(label = "结算与合同不一致原因")
|
@Column(name = "jsyhtbyzyy", length = 512)
|
private String jsyhtbyzyy;
|
|
@PropertyDef(label = "客户方开户行")
|
@Column(name = "khfkhh", length = 3)
|
private String khfkhh;
|
|
@PropertyDef(label = "客户方账号")
|
@Column(name = "khfzh", length = 30)
|
private String khfzh;
|
|
@PropertyDef(label = "客户签约人")
|
@Column(name = "khqyr", length = 64)
|
private String khqyr;
|
|
@PropertyDef(label = "本方开户行")
|
@Column(name = "bfkhh", length = 3)
|
private String bfkhh;
|
|
@PropertyDef(label = "本方账号")
|
@Column(name = "bfzh", length = 30)
|
private String bfzh;
|
|
@PropertyDef(label = "本方签约人")
|
@Column(name = "bfqyr", length = 64)
|
private String bfqyr;
|
|
@PropertyDef(label = "审批人")
|
@Column(name = "shr", length = 64)
|
private String shr;
|
|
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
@PropertyDef(label = "审批时间")
|
@Column(name = "shsj")
|
private Date shsj;
|
|
@JSONField(format = "yyyy-MM-dd")
|
@PropertyDef(label = "完成日期")
|
@Column(name = "wcrq")
|
private Date wcrq;
|
|
@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 = "业务id")
|
@Column(name = "bizId", length = 40)
|
private String bizId;
|
|
@PropertyDef(label = "库区代码")
|
@Column(name = "kqdm", length = 21)
|
private String kqdm;
|
|
@JSONField(serialize = false)
|
@PropertyDef(label = "同步时间", description = "从粮库系统同步到接口管理中心的时间")
|
@Column(name = "syncTime")
|
private Date syncTime;
|
|
@PropertyDef(label = "轮换年度", description = "目前上海使用")
|
@Column(name = "lhnd")
|
private String lhnd;
|
}
|