package com.ld.igds.models; import java.util.Date; import javax.persistence.*; import com.bstek.dorado.annotation.PropertyDef; 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; @Column(name = "COMPANY_ID_", length = 10) @PropertyDef(label = "组织编码") private String companyId; @Column(name = "DEPT_ID_", length = 50) @PropertyDef(label = "库区编码") private String deptId; @Column(name = "INOUT_TYPE_") @PropertyDef(label = "出入库类型") private String inoutType; @Column(name = "BIZ_TYPE_") @PropertyDef(label = "处理方式", description = "单车结算/合同结算") private String bizType; @Column(name = "DEPOT_ID_", length = 50) @PropertyDef(label = "所属仓库") private String depotId; @Column(name = "CONTRACT_ID_", length = 40) @PropertyDef(label = "合同编码", description = "针对轮换粮食必填") private String contractId; @Column(name = "CONTRACT_NAME_", length = 50) @PropertyDef(label = "合同名称", description = "针对轮换粮食必填") private String contractName; // 结算信息 @Column(name = "PAY_PRICE_") @PropertyDef(label = "单价") private Double payPrice = 0.0; @Column(name = "PAY_SUM_") @PropertyDef(label = "结算总额") private Double paySum = 0.0; @Column(name = "SETTLE_WEIGHT_") @PropertyDef(label = "结算重量") private double settleWeight = 0.0; @Column(name = "PAY_TIME_") @PropertyDef(label = "结算时间") private Date payTime; @Column(name = "PAY_TYPE_", length = 10) @PropertyDef(label = "付款方式") private String payType; @Column(name = "PAYEE_") @PropertyDef(label = "收款人", description = "收款单位或者个人") private String payee; @Column(name = "PAYEE_ID_") @PropertyDef(label = "收款人省份证号") private String payeeId; @Column(name = "BANK_", length = 40) @PropertyDef(label = "开户行") private String bank; @Column(name = "BANK_NUM_", length = 20) @PropertyDef(label = "银行卡号") private String bankNum; @Column(name = "PAY_UNIT_", length = 50) @PropertyDef(label = "付款单位") private String payUnit; @Column(name = "PAY_USER_", length = 40) @PropertyDef(label = "付款操作人") private String payUser; @Column(name = "REMARKS_", length = 200) @PropertyDef(label = "备注信息") private String remarks; @Column(name = "UPDATE_TIME_") @PropertyDef(label = "数据更新时间") private Date updateTime; }