CZT
2023-10-07 4676c3c00f3e56ed65c149f4dd2c2697e0f1890c
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
package com.fzzy.async.fzzy35.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_RECORD")
public class Fz35InoutRecord {
 
    @Id
    @Column(name = "ID_", length = 40)
    @PropertyDef(label = "流水号", description = "根据一定的规则生成")
    private String id;
 
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码", description = "")
    private String companyId;
 
    @Column(name = "DEPT_ID_", length = 50)
    @PropertyDef(label = "部门ID", description = "用于区分部门")
    private String deptId;
 
    @Column(name = "NOTICE_ID_", length = 40)
    @PropertyDef(label = "通知单编码")
    private String noticeId;
 
    @Column(name = "DEPOT_ID_", length = 50)
    @PropertyDef(label = "装卸仓库")
    private String depotId;
 
    @Column(name = "TYPE_", length = 10)
    @PropertyDef(label = "出入库类型", description = "出库,入库")
    private String type;
 
    @Column(name = "PROGRESS_", length = 20)
    @PropertyDef(label = "流程进度")
    private String progress;
 
    @Column(name = "RECORD_STATUS_", length = 10)
    @PropertyDef(label = "数据状态", description = "数据状态,正常,异常(2小时内重复出入库等),补录")
    private String recordStatus;
 
    @Column(name = "REGISTER_TIME_")
    @PropertyDef(label = "登记时间")
    private Date registerTime;
 
    @Column(name = "REGISTER_USER_", length = 40)
    @PropertyDef(label = "登记人员")
    private String registerUser;
 
    @Column(name = "USER_NAME_", length = 40)
    @PropertyDef(label = "承运人")
    private String userName = "";
 
    @Column(name = "USER_BIRTHDAY_")
    @PropertyDef(label = "出生日期")
    private Date userBirthday;
 
    @Column(name = "USER_SEX_", length = 10)
    @PropertyDef(label = "性别")
    private String userSex;
 
    @Column(name = "USER_NATION_", length = 10)
    @PropertyDef(label = "民族")
    private String userNation;
 
    @Column(name = "USER_ID_", length = 20)
    @PropertyDef(label = "身份证号")
    private String userId;
 
    @Column(name = "USER_CONTACT_", length = 20)
    @PropertyDef(label = "联系方式")
    private String userContact;
 
    @Column(name = "USER_ADDRESS_", length = 100)
    @PropertyDef(label = "承运人地址")
    private String userAddress;
 
    // 基本信息
    @Column(name = "INTEL_CARD_", length = 20)
    @PropertyDef(label = "智慧卡号")
    private String intelCard;
 
    @Column(name = "PLATE_NUM_", length = 20)
    @PropertyDef(label = "车牌号")
    private String plateNum;
 
    @Column(name = "TRANS_TYPE_", length = 10)
    @PropertyDef(label = "运输方式", description = "汽车,火车、轮船、其他")
    private String transType; //TransType.TYPE_1.getCode();
 
    @Column(name = "CUSTOMER_ID_", length = 40)
    @PropertyDef(label = "往来单位", description = "入库时,表示发货单位,出库时候表示收货单位")
    private String customerId;
 
    @Column(name = "CUSTOMER_NAME_", length = 50)
    @PropertyDef(label = "往来单位", description = "入库时,表示发货单位,出库时候表示收货单位")
    private String customerName;
 
    // 粮食信息
    @Column(name = "FOOD_VARIETY_", length = 20)
    @PropertyDef(label = "粮食品种")
    private String foodVariety;
 
    @Column(name = "FOOD_TYPE_", length = 20)
    @PropertyDef(label = "仓储类型")
    private String foodType;
 
    @Column(name = "FOOD_LEVEL_", length = 40)
    @PropertyDef(label = "粮食等级")
    private String foodLevel;
 
 
    @Column(name = "FOOD_LOCATION_", length = 40)
    @PropertyDef(label = "产地名称")
    private String foodLocation;
 
    @Column(name = "FOOD_YEAR_", length = 20)
    @PropertyDef(label = "年份")
    private String foodYear;
 
    // 化验信息
    @Column(name = "CHECK_STATUS_")
    @PropertyDef(label = "化验结果")
    private String checkStatus;
 
    @Column(name = "CHECK_USER_")
    @PropertyDef(label = "化验人")
    private String checkUser;
 
    @Column(name = "CHECK_ID_")
    @PropertyDef(label = "化验单号")
    private String checkId;
 
    // 称重和扣重信息
    @Column(name = "IMPURITY_")
    @PropertyDef(label = "杂质", description = "百分比")
    private Double impurity = 0.0;
 
    @Column(name = "WET_")
    @PropertyDef(label = "水分", description = "百分比")
    private Double wet = 0.0;
 
    @Column(name = "DE_IMPURITY_")
    @PropertyDef(label = "杂质扣重", description = "单位KG")
    private Double deImpurity = 0.0;
 
    @Column(name = "DE_WET_")
    @PropertyDef(label = "水分扣重", description = "单位KG")
    private Double deWet = 0.0;
 
    @Column(name = "DE_HANDLE_")
    @PropertyDef(label = "值仓扣重", description = "单位KG")
    private Double deHandle = 0.0;
 
    @Column(name = "DE_OTHER_")
    @PropertyDef(label = "其他扣重", description = "单位KG")
    private Double deOther = 0.0;
 
    @Column(name = "DE_SUM_")
    @PropertyDef(label = "总扣重", description = "单位KG")
    private Double deSum = 0.0;
 
    @Column(name = "FULL_WEIGHT_")
    @PropertyDef(label = "满车称重", description = "入库时候表示第一次称重,出库时候表示第二次称重,单位KG")
    private Double fullWeight = 0.0;
 
    @Column(name = "FULL_WEIGHT_TIME_")
    @PropertyDef(label = "满车称重时间")
    private Date fullWeightTime;
 
    @Column(name = "FULL_WEIGHT_USER_", length = 40)
    @PropertyDef(label = "满车称重人")
    private String fullWeightUser;
 
    @Column(name = "EMPTY_WEIGHT_")
    @PropertyDef(label = "空车称重", description = "入库时表示第二次称重,出库时候表示第一次称重,单位KG")
    private Double emptyWeight = 0.0;
 
    @Column(name = "EMPTY_WEIGHT_TIME_")
    @PropertyDef(label = "空车称重时间")
    private Date emptyWeightTime;
 
    @Column(name = "EMPTY_WEIGHT_USER_")
    @PropertyDef(label = "空车称重人")
    private String emptyWeightUser;
 
    @Column(name = "NET_WEIGHT_")
    @PropertyDef(label = "净重", description = "单位KG")
    private Double netWeight = 0.0;
 
    @Column(name = "SETTLE_WEIGHT_")
    @PropertyDef(label = "结算重量", description = "扣重后净重,结算净重,单位KG")
    private Double settleWeight = 0.0;
 
    @Column(name = "RECORD_WEIGHT_")
    @PropertyDef(label = "入库重量", description = "扣重后净重,结算净重,补包括增重,单位KG")
    private Double recordWeight = 0.0;
 
    @Column(name = "PRICE_")
    @PropertyDef(label = "单价", description = "单位:元/公斤")
    private Double price;
 
    // 值仓信息
    @Column(name = "HANDLE_START_")
    @PropertyDef(label = "值仓开始时间")
    private Date handleStart;
 
    @Column(name = "HANDLE_END_")
    @PropertyDef(label = "值仓结束时间")
    private Date handleEnd;
 
    @Column(name = "HANDLE_USER_", length = 40)
    @PropertyDef(label = "值仓操作人")
    private String handleUser;
 
    // 出库
    @Column(name = "COMPLETE_TIME_")
    @PropertyDef(label = "完成时间")
    private Date completeTime;
 
    @Column(name = "COMPLETE_USER_", length = 40)
    @PropertyDef(label = "完成确认人")
    private String completeUser;
 
    // 备注
    @Column(name = "REMARKS_", length = 200)
    @PropertyDef(label = "备注信息")
    private String remarks;
 
    @Column(name = "SETTLE_TAG_", length = 2)
    @PropertyDef(label = "是否结算", description = "Y:表示已结算;N:表示未结算")
    private String settleTag;
 
}