czt
2 天以前 9f6dacf7b39e5aeba37d8faf575c9e56d8cbe51a
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1201.java
@@ -4,12 +4,6 @@
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;
@@ -18,7 +12,6 @@
 * 接口表-合同信息
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SH2023Api1201 implements Serializable {
    /**
@@ -30,14 +23,19 @@
    private String hth;
    @PropertyDef(label = "合同名称")
    @Column(name = "htmc", length = 128)
    private String htmc;
    @PropertyDef(label = "单位代码")
    private String dwdm;
    @PropertyDef(label = "业务类别")
    @PropertyDef(label = "统一单位编码")
    private String tydwbm;
    @PropertyDef(label = "业务类别",description = "1:销售合同,2:采购合同,3:委托收储合同,4:委托收购合同")
    private String ywlx;
    @PropertyDef(label = "购销方式")
    private String gxfs;
    @PropertyDef(label = "客户类型")
    private String khlx;
@@ -77,6 +75,9 @@
    @PropertyDef(label = "约定完成时间")
    private Date ydwcsj;
    @PropertyDef(label = "验收方式")
    private String ysfs;
    @PropertyDef(label = "签订地点")
    private String qddd;
@@ -103,19 +104,15 @@
    @PropertyDef(label = "实际完成时间")
    private Date sswcsj;
    @JSONField(name = "Lysl")
    @PropertyDef(label = "履约数量")
    private double lysl;
    @JSONField(name = "Lyl")
    @PropertyDef(label = "履约率")
    private double lyl;
    private double lyl = 100;
    @JSONField(name = "Jsjg")
    @PropertyDef(label = "结算价格")
    private double jsjg;
    @JSONField(name = "Jszje", serializeUsing = NumberSerializer.class)
    @PropertyDef(label = "结算总金额")
    private BigDecimal jszje;
@@ -124,6 +121,15 @@
    @PropertyDef(label = "结算与合同不一致原因")
    private String jsyhtbyzyy;
    /**
     * 1:全额先款后货
     * 2:按到款进度逐批发货
     * 3:货到并确认后一次性付款
     * 4:按到货批次逐批确认、逐批付款
     */
    @PropertyDef(label = "付款方式")
    private String fkfs;
    @PropertyDef(label = "客户方开户行")
    private String khfkhh;
@@ -157,20 +163,12 @@
    @PropertyDef(label = "更新时间")
    private Date zhgxsj;
    @JSONField(serialize = false)
    @PropertyDef(label = "业务id")
    private String bizId;
    @PropertyDef(label = "库区代码")
    private String kqdm;
    @JSONField(serialize = false)
    @PropertyDef(label = "同步时间", description = "从粮库系统同步到接口管理中心的时间")
    private Date syncTime;
    @PropertyDef(label = "合同是否中止")
    private String htsfzz;
    private String htsfzz = "0";
    @PropertyDef(label = "标记位")
    private String bjw;
    @PropertyDef(label = "轮换年度")
    private String lhnd;
}