| package com.fzzy.async.fzzy30.entity; | 
|   | 
| import com.bstek.dorado.annotation.PropertyDef; | 
| import lombok.Data; | 
|   | 
| import javax.persistence.Column; | 
| import javax.persistence.Entity; | 
| import javax.persistence.Id; | 
| import javax.persistence.Table; | 
| 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 = "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 = "SETTLE_WEIGHT_") | 
|     @PropertyDef(label = "结算重量") | 
|     private Double settleWeight; | 
|   | 
|     @Column(name = "FULL_WEIGHT_") | 
|     @PropertyDef(label = "毛重") | 
|     private Double fullWeight; | 
|   | 
|     @Column(name = "EMPTY_WEIGHT_") | 
|     @PropertyDef(label = "皮重") | 
|     private Double emptyWeight; | 
|      | 
|     @Column(name = "NET_WEIGHT_") | 
|     @PropertyDef(label = "净重", description = "单位KG") | 
|     private Double netWeight = 0.0; | 
|   | 
|     @Column(name = "DE_SUM_") | 
|     @PropertyDef(label = "总扣重") | 
|     private Double deSum; | 
|   | 
|     @Column(name = "TYPE_") | 
|     @PropertyDef(label = "出入库类型") | 
|     private String type; | 
|   | 
|     @Column(name = "CUSTOMER_ID_") | 
|     @PropertyDef(label = "客户编码") | 
|     private String customerId; | 
|   | 
|     @Column(name = "CUSTOMER_NAME_") | 
|     @PropertyDef(label = "客户名称") | 
|     private String customerName; | 
|   | 
| } |