package com.fzzy.async.fzzy35.entity;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import lombok.Data;
|
|
import javax.persistence.*;
|
import java.util.Date;
|
|
/**
|
* 出入库数据记录,当前记录包括 入库信息和出入库信息,
|
*/
|
@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 = "PAY_PRICE_")
|
@PropertyDef(label = "单价")
|
private Double payPrice = 0.0;
|
|
@Column(name = "PAY_SUM_")
|
@PropertyDef(label = "结算总额")
|
private Double paySum = 0.0;
|
|
@Column(name = "PAY_TYPE_", length = 10)
|
@PropertyDef(label = "付款方式")
|
private String payType;
|
|
@Column(name = "CUSTOMER_ID_")
|
@PropertyDef(label = "客户编码")
|
private String customerId;
|
|
@Column(name = "CUSTOMER_NAME_")
|
@PropertyDef(label = "客户名称")
|
private String customerName;
|
|
@Column(name = "BANK_", length = 40)
|
@PropertyDef(label = "开户行")
|
private String bank;
|
|
@Column(name = "BANK_NUM_", length = 20)
|
@PropertyDef(label = "银行卡号")
|
private String bankNum;
|
|
@Column(name = "PAY_USER_", length = 40)
|
@PropertyDef(label = "付款操作人")
|
private String payUser;
|
|
@Column(name = "PAY_TIME_")
|
@PropertyDef(label = "结算时间")
|
private Date payTime;
|
|
@Column(name = "FULL_WEIGHT_")
|
@PropertyDef(label = "毛重")
|
private double fullWeight = 0.0;
|
|
@Column(name = "EMPTY_WEIGHT_")
|
@PropertyDef(label = "皮重")
|
private double emptyWeight = 0.0;
|
|
@Column(name = "NET_WEIGHT_")
|
@PropertyDef(label = "净重", description = "单位KG")
|
private Double netWeight = 0.0;
|
|
@Column(name = "DE_SUM_")
|
@PropertyDef(label = "总扣重")
|
private double deSum;
|
|
@Column(name = "SETTLE_WEIGHT_")
|
@PropertyDef(label = "结算重量")
|
private double settleWeight = 0.0;
|
|
@Column(name = "TYPE_")
|
@PropertyDef(label = "出入库类型")
|
private String type;
|
|
@Column(name = "OTHER_SUN_")
|
@PropertyDef(label = "其他费用", description = "单位:元")
|
private Double otherSum = 0.0;
|
|
@Column(name = "REMARKS_", length = 200)
|
@PropertyDef(label = "备注信息")
|
private String remarks;
|
|
}
|