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 = "流水号",description = "结算日期(yyyyMMdd)+4位顺序号组成")
|
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 = "0=单车结算/1=合同结算")
|
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_MONEY_")
|
@PropertyDef(label = "结算总额")
|
private Double payMoney = 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_CATEGORY_", length = 10)
|
@PropertyDef(label = "银行行别代码")
|
private String bankCategory;
|
|
@Column(name = "BANK_CODE_", length = 20)
|
@PropertyDef(label = "开户行号")
|
private String bankCode;
|
|
@Column(name = "BANK_", length = 50)
|
@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;
|
|
}
|