ShipmentDetail.java
9.08 KB
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
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
package com.huaheng.pc.shipment.shipmentDetail.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.huaheng.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
@ApiModel(value="com.huaheng.pc.shipment.shipmentDetail.domain.ShipmentDetail")
@Data
@TableName(value = "shipment_detail")
public class ShipmentDetail implements Serializable {
/**
* 出库单内部行号
*/
@TableId(value = "id", type = IdType.AUTO)
@ApiModelProperty(value="出库单内部行号")
private Integer id;
/**
* 出库单内部号
*/
@TableField(value = "shipmentId")
@ApiModelProperty(value="出库单内部号")
private Integer shipmentId;
/**
* 仓库
*/
@TableField(value = "warehouseCode")
@ApiModelProperty(value="仓库")
@Excel(name = "仓库code")
private String warehouseCode;
/**
* 货主
*/
@TableField(value = "companyCode")
@ApiModelProperty(value="货主")
@Excel(name = "货主code")
private String companyCode;
@TableField(exist = false)
private String companyName;
@TableField(exist = false)
private BigDecimal inventoryQty;
/**
* 出库单号
*/
@TableField(value = "shipmentCode")
@ApiModelProperty(value="出库单号")
private String shipmentCode;
/**
* 上游订单号
*/
@TableField(value = "referCode")
@ApiModelProperty(value="上游订单号")
private String referCode;
/**
* 上游订单内部号
*/
@TableField(value = "referId")
@ApiModelProperty(value="上游订单内部号")
private Integer referId;
/**
* 上游订单行号
*/
@TableField(value = "referLineNum")
@ApiModelProperty(value="上游订单行号")
private String referLineNum;
/**
* 物料
*/
@TableField(value = "materialCode")
@ApiModelProperty(value="物料")
@Excel(name = "物料code")
private String materialCode;
/**
* 物料描述
*/
@TableField(value = "materialName")
@ApiModelProperty(value="物料描述")
private String materialName;
/**
* 物料规格
*/
@TableField(value = "materialSpec")
@ApiModelProperty(value="物料规格")
private String materialSpec;
/**
* 物料单位
*/
@TableField(value = "materialUnit")
@ApiModelProperty(value="物料单位")
private String materialUnit;
/**
* 单据数量
*/
@TableField(value = "qty")
@ApiModelProperty(value="单据数量")
@Excel(name = "单据数量")
private BigDecimal qty;
/**
* 任务数量
*/
@TableField(value = "taskQty")
@ApiModelProperty(value="任务数量")
private BigDecimal taskQty;
/**
* 分配规则
*/
@TableField(value = "allocationRule")
@ApiModelProperty(value="分配规则")
private String allocationRule;
/**
* 补货规则
*/
@TableField(value = "replenishmentRule")
@ApiModelProperty(value="补货规则")
private String replenishmentRule;
/**
* 拣货货位
*/
@TableField(value = "pickLocs")
@ApiModelProperty(value="拣货货位")
private String pickLocs;
/**
* 属性1
*/
@TableField(value = "attribute1")
@ApiModelProperty(value="属性1")
private String attribute1;
/**
* 属性2
*/
@TableField(value = "attribute2")
@ApiModelProperty(value="属性2")
private String attribute2;
/**
* 属性3
*/
@TableField(value = "attribute3")
@ApiModelProperty(value="属性3")
private String attribute3;
/**
* 属性4
*/
@TableField(value = "attribute4")
@ApiModelProperty(value="属性4")
private String attribute4;
/**
* 批次
*/
@TableField(value = "batch")
@ApiModelProperty(value="批次")
private String batch;
/**
* 批号
*/
@TableField(value = "lot")
@ApiModelProperty(value="批号")
private String lot;
/**
* 项目号
*/
@TableField(value = "projectNo")
@ApiModelProperty(value="项目号")
private String projectNo;
/**
* 出库口
*/
@TableField(value = "port")
@ApiModelProperty(value="出库口")
private String port;
/**
* 生产日期
*/
@TableField(value = "manufactureDate")
@ApiModelProperty(value="生产日期")
private Date manufactureDate;
/**
* 失效日期
*/
@TableField(value = "expirationDate")
@ApiModelProperty(value="失效日期")
private Date expirationDate;
/**
* 入库日期
*/
@TableField(value = "agingDate")
@ApiModelProperty(value="入库日期")
private Date agingDate;
/**
* 库存状态
*/
@TableField(value = "inventorySts")
@ApiModelProperty(value="库存状态")
private String inventorySts;
/**
* 月台货位
*/
@TableField(value = "dockLoc")
@ApiModelProperty(value="月台货位")
private String dockLoc;
/**
* 包装分类
*/
@TableField(value = "packingClass")
@ApiModelProperty(value="包装分类")
private String packingClass;
/**
* 状态
*/
@TableField(value = "status")
@ApiModelProperty(value="状态")
private Integer status;
/**
* 波次号
*/
@TableField(value = "waveId")
@ApiModelProperty(value="波次号")
private Integer waveId;
/**
* 创建时间
*/
@TableField(value = "created")
@ApiModelProperty(value="创建时间")
private Date created;
/**
* 创建用户
*/
@TableField(value = "createdBy")
@ApiModelProperty(value="创建用户")
private String createdBy;
/**
* 创建时间
*/
@TableField(value = "lastUpdated")
@ApiModelProperty(value="创建时间")
private Date lastUpdated;
/**
* 更新用户
*/
@TableField(value = "lastUpdatedBy")
@ApiModelProperty(value="更新用户")
private String lastUpdatedBy;
/**
* 数据版本
*/
@TableField(value = "version")
@ApiModelProperty(value="数据版本")
private Integer version;
/**
* 自定义字段1
*/
@TableField(value = "userDef1")
@ApiModelProperty(value="自定义字段1")
private String userDef1;
/**
* 自定义字段2
*/
@TableField(value = "userDef2")
@ApiModelProperty(value="自定义字段2")
private String userDef2;
/**
* 自定义字段3
*/
@TableField(value = "userDef3")
@ApiModelProperty(value="自定义字段3")
private String userDef3;
/**
* 处理标记
*/
@TableField(value = "processStamp")
@ApiModelProperty(value="处理标记")
private String processStamp;
@TableField(exist = false)
private Integer warehouseId;
@TableField(exist = false)
private String warehouseName;
@TableField(exist = false)
private String uWarehouseCode;
@TableField(exist = false)
private String uWarehouseName;
@TableField(exist = false)
private String uWarehouseNames;
//库区
@TableField(value = "zoneCode")
private String zoneCode;
/** 货主id */
@TableField(value = "companyId")
private Integer companyId;
/** 上游系统单号 */
@TableField(exist = false)
private String sourceCode;
/** 订单号 */
@TableField(value = "cPoCode")
private String cPoCode;
/** 工作令号 */
@TableField(value = "moCode")
private String moCode;
/** 上游系统行号 */
@TableField(exist = false)
private String sourceLine;
/** 物料Id */
@TableField(exist = false)
private Integer materialId;
@TableField(exist = false)
private String barCode;
///** 库存状态 */
//@TableField(value = "inventoryStatus")
//private String inventoryStatus;
/** 已出数量 */
@TableField(value = "qtyCompleted")
private BigDecimal qtyCompleted;
/** 物料单价 */
@TableField(value = "price")
private BigDecimal price;
/** 删除标记 */
@TableField(value = "deleted")
private Boolean deleted;
//细单ID
@TableField(value = "AutoID")
private Integer AutoID;
/**库位编号*/
@TableField(exist = false)
private String locationCode;
/** 货主id组 */
@TableField(exist = false)
private List<Integer> companyIdList;
/** 货主编码组 */
@TableField(exist = false)
private List<String> companyCodeList;
//过期时间
@TableField(exist = false)
private Integer days;
//U8销售订单明细id
@TableField(value = "soAutoId")
private Integer soAutoId;
//U8销售订单code
@TableField(value = "soCode")
private String soCode;
//U8销售订单id
@TableField(value = "soId")
private Integer soId;
}