jiazx0107@163.com
2023-05-26 6f4a366cad9109ddc338fd13c9d43ca2ce516f6b
igds-inout/src/main/java/com/ld/igds/models/InoutSettle.java
@@ -9,110 +9,98 @@
import lombok.Data;
/**
 * 出入库数据记录,当前记录包括 入库信息和出入库信息,
 * 出入库结算,2023年5月26日,根据新国粮规优化调整
 */
@Data
@Entity
@Table(name = "D_INOUT_SETTLE")
public class InoutSettle {
   @Id
   @Column(name = "ID_", length = 40)
   @PropertyDef(label = "流水号")
   private String id;
    @Id
    @Column(name = "ID_", length = 40)
    @PropertyDef(label = "流水号")
    private String id;
   @Column(name = "COMPANY_ID_", length = 10)
   @PropertyDef(label = "组织编码")
   private String companyId;
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
   // 结算信息
   @Column(name = "PAY_PRICE_")
   @PropertyDef(label = "单价")
   private Double payPrice = 0.0;
    @Column(name = "DEPT_ID_", length = 50)
    @PropertyDef(label = "库区编码")
    private String deptId;
   @Column(name = "PAY_SUM_")
   @PropertyDef(label = "结算总额")
   private Double paySum = 0.0;
    @Column(name = "INOUT_TYPE_")
    @PropertyDef(label = "出入库类型")
    private String inoutType;
   @Column(name = "PAY_TYPE_", length = 10)
   @PropertyDef(label = "付款方式")
   private String payType;
    @Column(name = "BIZ_TYPE_")
    @PropertyDef(label = "处理方式", description = "单车结算/合同结算")
    private String bizType;
   @Column(name = "CUSTOMER_ID_")
   @PropertyDef(label = "客户编码")
   private String customerId;
    @Column(name = "DEPOT_ID_", length = 50)
    @PropertyDef(label = "所属仓库")
    private String depotId;
   @Column(name = "CUSTOMER_NAME_")
   @PropertyDef(label = "客户名称")
   private String customerName;
   @Column(name = "BANK_", length = 40)
   @PropertyDef(label = "开户行")
   private String bank;
    @Column(name = "CONTRACT_ID_", length = 40)
    @PropertyDef(label = "合同编码", description = "针对轮换粮食必填")
    private String contractId;
   @Column(name = "BANK_NUM_", length = 20)
   @PropertyDef(label = "银行卡号")
   private String bankNum;
    @Column(name = "CONTRACT_NAME_", length = 50)
    @PropertyDef(label = "合同名称", description = "针对轮换粮食必填")
    private String contractName;
   @Column(name = "PAY_USER_", length = 40)
   @PropertyDef(label = "付款操作人")
   private String payUser;
    // 结算信息
    @Column(name = "PAY_PRICE_")
    @PropertyDef(label = "单价")
    private Double payPrice = 0.0;
   @Column(name = "PAY_TIME_")
   @PropertyDef(label = "结算时间")
   private Date payTime;
    @Column(name = "PAY_SUM_")
    @PropertyDef(label = "结算总额")
    private Double paySum = 0.0;
   @Column(name = "FULL_WEIGHT_")
   @PropertyDef(label = "毛重")
   private double fullWeight = 0.0;
    @Column(name = "SETTLE_WEIGHT_")
    @PropertyDef(label = "结算重量")
    private double settleWeight = 0.0;
   @Column(name = "EMPTY_WEIGHT_")
   @PropertyDef(label = "皮重")
   private double emptyWeight = 0.0;
    @Column(name = "PAY_TIME_")
    @PropertyDef(label = "结算时间")
    private Date payTime;
   @Column(name = "NET_WEIGHT_")
   @PropertyDef(label = "净重", description = "单位KG")
   private Double netWeight = 0.0;
    @Column(name = "PAY_TYPE_", length = 10)
    @PropertyDef(label = "付款方式")
    private String payType;
   @Column(name = "DE_SUM_")
   @PropertyDef(label = "总扣重")
   private double deSum;
    @Column(name = "PAYEE_")
    @PropertyDef(label = "收款人", description = "收款单位或者个人")
    private String payee;
   @Column(name = "SETTLE_WEIGHT_")
   @PropertyDef(label = "结算重量")
   private double settleWeight = 0.0;
    @Column(name = "PAYEE_ID_")
    @PropertyDef(label = "收款人省份证号")
    private String payeeId;
   @Column(name = "TYPE_")
   @PropertyDef(label = "出入库类型")
   private String type;
    @Column(name = "BANK_", length = 40)
    @PropertyDef(label = "开户行")
    private String bank;
   @Column(name = "OTHER_SUN_")
   @PropertyDef(label = "其他费用", description = "单位:元")
   private Double otherSum = 0.0;
    @Column(name = "BANK_NUM_", length = 20)
    @PropertyDef(label = "银行卡号")
    private String bankNum;
   @Column(name = "REMARKS_", length = 200)
   @PropertyDef(label = "备注信息")
   private String remarks;
   @Transient
   private String depotId;
    @Column(name = "PAY_UNIT_", length = 50)
    @PropertyDef(label = "付款单位")
    private String payUnit;
   @Transient
   private String deptId;
    @Column(name = "PAY_USER_", length = 40)
    @PropertyDef(label = "付款操作人")
    private String payUser;
   @Transient
   private String userName;
    @Column(name = "REMARKS_", length = 200)
    @PropertyDef(label = "备注信息")
    private String remarks;
   @Transient
   private String plateNum;
   @Transient
   private String foodVariety;
    @Column(name = "UPDATE_TIME_")
    @PropertyDef(label = "数据更新时间")
    private Date updateTime;
   @Transient
   private String foodLevel;
   @Transient
   private Date completeTime;
}