czt
2025-09-23 6cdbfc0201a5a3aaae1e0d264b613114461fbd06
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
package com.fzzy.async.fzzy61.entity;
 
import com.bstek.dorado.annotation.PropertyDef;
import com.fzzy.async.fzzy30.entity.InoutRecord;
import lombok.Data;
 
import javax.persistence.*;
import java.util.Date;
import java.util.List;
 
/**
 * 出入库结算,2023年5月26日,根据新国粮规优化调整
 */
@Data
@Entity
@Table(name = "D_INOUT_SETTLE")
public class Fz61InoutSettle {
 
    public static String SORT_PROP = "id";
 
    @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 = 40)
    @PropertyDef(label = "开户行号")
    private String bankCode;
 
    @Column(name = "BANK_", length = 50)
    @PropertyDef(label = "开户行名称")
    private String bank;
 
    @Column(name = "BANK_NUM_", length = 40)
    @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 = "fphm", length = 10)
    @PropertyDef(label = "发票号码")
    private String fphm;
 
    @Column(name = "fpzt", length = 10)
    @PropertyDef(label = "发票状态",description = "1:正常,0:作废")
    private String fpzt;
 
    @Column(name = "INOUT_RECORD_ID_", length = 40)
    @PropertyDef(label = "流水号", description = "根据一定的规则生成")
    private String inoutRecordId;
 
    @Column(name = "UPDATE_TIME_")
    @PropertyDef(label = "数据更新时间")
    private Date updateTime;
 
    @Transient
    private List<InoutRecord> recordItems;
 
}