czt
2025-09-25 029de836702607a95ccb0a69a74efcea52ddc451
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
package com.fzzy.api.entity;
 
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
 
import com.fzzy.conf.NumberSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * 接口表-合同信息
 */
@Data
@Entity
@Table(name = "API_1201")
@EqualsAndHashCode(callSuper = false)
public class Api1201 implements Serializable {
 
 
    public static String SORT_PROP = "hth";
 
    /**
     *
     */
    private static final long serialVersionUID = -3432123567533107674L;
 
    @Id
    @PropertyDef(label = "合同号")
    @Column(name = "hth", length = 64)
    private String hth;
 
    @PropertyDef(label = "合同名称")
    @Column(name = "htmc", length = 128)
    private String htmc;
 
    @PropertyDef(label = "单位代码")
    @Column(name = "dwdm", length = 18)
    private String dwdm;
 
    @PropertyDef(label = "统一单位编码")
    @Column(name = "tydwbm", length = 20)
    private String tydwbm;
 
    @PropertyDef(label = "业务类别")
    @Column(name = "ywlx", length = 1)
    private String ywlx;
 
    @PropertyDef(label = "合同种类" ,description = "1:销售合同,2:采购合同,3:委托收储合同,4:委托收购合同")
    @Column(name = "htzl", length = 1)
    private String htzl;
 
    @PropertyDef(label = "客户类型")
    @Column(name = "khlx", length = 1)
    private String khlx;
 
    @PropertyDef(label = "客户统一社会信用代码")
    @Column(name = "khtyshxydm", length = 18)
    private String khtyshxydm;
 
    @PropertyDef(label = "客户名称")
    @Column(name = "khmc", length = 256)
    private String khmc;
 
    @PropertyDef(label = "法定代表人")
    @Column(name = "fddbr", length = 64)
    private String fddbr;
 
    @PropertyDef(label = "通讯地址")
    @Column(name = "txdz", length = 512)
    private String txdz;
 
    @PropertyDef(label = "邮政编码")
    @Column(name = "yzbm", length = 6)
    private String yzbm;
 
    @PropertyDef(label = "联系人姓名")
    @Column(name = "lxrxm", length = 64)
    private String lxrxm;
 
    @PropertyDef(label = "联系电话")
    @Column(name = "lxrdh", length = 20)
    private String lxrdh;
 
    @PropertyDef(label = "身份证号")
    @Column(name = "sfzh", length = 18)
    private String sfzh;
 
    @PropertyDef(label = "电子信箱")
    @Column(name = "dzyx", length = 64)
    private String dzyx;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "签订日期")
    @Column(name = "qdrq")
    private Date qdrq;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "约定完成时间")
    @Column(name = "ydwcsj")
    private Date ydwcsj;
 
    @PropertyDef(label = "验收方式")
    @Column(name = "ysfs", length = 64)
    private String ysfs;
 
    @PropertyDef(label = "签订地点")
    @Column(name = "qddd", length = 512)
    private String qddd;
 
    @PropertyDef(label = "粮食品种代码")
    @Column(name = "lspzdm", length = 7)
    private String lspzdm;
 
    @PropertyDef(label = "粮食性质代码")
    @Column(name = "lsxzdm", length = 3)
    private String lsxzdm;
 
    @PropertyDef(label = "合同单价")
    @Column(name = "htdj", precision = 20, scale = 6)
    private double htdj;
 
    @PropertyDef(label = "约定购销粮食数量")
    @Column(name = "ydgxlssl", precision = 20, scale = 6)
    private double ydgxlssl;
 
    @JSONField(serializeUsing = NumberSerializer.class)
    @PropertyDef(label = "合同总金额")
    @Column(name = "htzje", precision = 20, scale = 6)
    private BigDecimal htzje;
 
    /**
     * 1:全额先款后货
     * 2:按到款进度逐批发货
     * 3:货到并确认后一次性付款
     * 4:按到货批次逐批确认、逐批付款
     */
    @PropertyDef(label = "付款方式")
    @Column(name = "fkfs", length = 1)
    private String fkfs;
 
    @PropertyDef(label = "履约保证金")
    @Column(name = "lybzj", precision = 20, scale = 6)
    private double lybzj;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "实际完成时间")
    @Column(name = "sswcsj")
    private Date sswcsj;
 
    @JSONField(name = "Lysl")
    @PropertyDef(label = "履约数量")
    @Column(name = "lysl", precision = 20, scale = 6)
    private double lysl;
 
    @JSONField(name = "Lyl")
    @PropertyDef(label = "履约率")
    @Column(name = "lyl", precision = 20, scale = 6)
    private double lyl;
 
    @JSONField(name = "Jsjg")
    @PropertyDef(label = "结算价格")
    @Column(name = "jsjg", precision = 20, scale = 6)
    private double jsjg;
 
    @JSONField(name = "Jszje", serializeUsing = NumberSerializer.class)
    @PropertyDef(label = "结算总金额")
    @Column(name = "jszje", precision = 20, scale = 6)
    private BigDecimal jszje;
 
    @PropertyDef(label = "结算与合同一致性")
    @Column(name = "jsyhtyzx", length = 1)
    private String jsyhtyzx;
 
    @PropertyDef(label = "结算与合同不一致原因")
    @Column(name = "jsyhtbyzyy", length = 512)
    private String jsyhtbyzyy;
 
    @PropertyDef(label = "客户方开户行")
    @Column(name = "khfkhh", length = 3)
    private String khfkhh;
 
    @PropertyDef(label = "客户方账号")
    @Column(name = "khfzh", length = 30)
    private String khfzh;
 
    @PropertyDef(label = "客户签约人")
    @Column(name = "khqyr", length = 64)
    private String khqyr;
 
    @PropertyDef(label = "本方开户行")
    @Column(name = "bfkhh", length = 3)
    private String bfkhh;
 
    @PropertyDef(label = "本方账号")
    @Column(name = "bfzh", length = 30)
    private String bfzh;
 
    @PropertyDef(label = "本方签约人")
    @Column(name = "bfqyr", length = 64)
    private String bfqyr;
 
    @PropertyDef(label = "审批人")
    @Column(name = "shr", length = 64)
    private String shr;
 
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "审批时间")
    @Column(name = "shsj")
    private Date shsj;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "完成日期")
    @Column(name = "wcrq")
    private Date wcrq;
 
    @PropertyDef(label = "操作标志")
    @Column(name = "czbz", length = 1)
    private String czbz;
 
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "更新时间")
    @Column(name = "zhgxsj")
    private Date zhgxsj;
 
    @JSONField(serialize = false)
    @PropertyDef(label = "业务id")
    @Column(name = "bizId", length = 40)
    private String bizId;
 
    @PropertyDef(label = "库区代码")
    @Column(name = "kqdm", length = 21)
    private String kqdm;
 
    @JSONField(serialize = false)
    @PropertyDef(label = "同步时间", description = "从粮库系统同步到接口管理中心的时间")
    @Column(name = "syncTime")
    private Date syncTime;
 
    @PropertyDef(label = "轮换年度", description = "目前上海使用")
    @Column(name = "lhnd")
    private String lhnd;
}