提交 | 用户 | 时间
|
fd2207
|
1 |
package com.jcdm.main.om.productionOrde.domain; |
懒 |
2 |
|
|
3 |
import java.util.Date; |
|
4 |
import com.fasterxml.jackson.annotation.JsonFormat; |
|
5 |
import org.apache.commons.lang3.builder.ToStringBuilder; |
|
6 |
import org.apache.commons.lang3.builder.ToStringStyle; |
|
7 |
import com.jcdm.common.annotation.Excel; |
|
8 |
import com.jcdm.common.core.domain.BaseEntity; |
|
9 |
|
|
10 |
/** |
|
11 |
* 生产工单对象 om_production_orde_info |
|
12 |
* |
|
13 |
* @author ruimin |
|
14 |
* @date 2023-12-11 |
|
15 |
*/ |
|
16 |
public class OmProductionOrdeInfo extends BaseEntity |
|
17 |
{ |
|
18 |
private static final long serialVersionUID = 1L; |
|
19 |
|
|
20 |
/** ID */ |
|
21 |
private Long id; |
|
22 |
|
|
23 |
/** 生产工单号 */ |
|
24 |
@Excel(name = "生产工单号") |
|
25 |
private String workOrderNo; |
|
26 |
|
|
27 |
/** 订单编号 */ |
|
28 |
@Excel(name = "订单编号") |
|
29 |
private String salesOrderCode; |
|
30 |
|
|
31 |
/** 产品编号 */ |
|
32 |
@Excel(name = "产品编号") |
|
33 |
private String productCode; |
|
34 |
|
|
35 |
/** 产品名称 */ |
|
36 |
@Excel(name = "产品名称") |
|
37 |
private String productName; |
|
38 |
|
|
39 |
/** 车间编号 */ |
|
40 |
@Excel(name = "车间编号") |
|
41 |
private String workshopCode; |
|
42 |
|
|
43 |
/** 产线编号 */ |
|
44 |
@Excel(name = "产线编号") |
|
45 |
private String lineCode; |
|
46 |
|
|
47 |
/** 工艺流程 */ |
|
48 |
@Excel(name = "工艺流程") |
|
49 |
private String routeCode; |
|
50 |
|
|
51 |
/** 产品BOM */ |
|
52 |
@Excel(name = "产品BOM") |
|
53 |
private String bomCode; |
|
54 |
|
|
55 |
/** 工艺配方 */ |
|
56 |
@Excel(name = "工艺配方") |
|
57 |
private String recipeCode; |
|
58 |
|
|
59 |
/** 计划数量 */ |
|
60 |
@Excel(name = "计划数量") |
|
61 |
private Long planQty; |
|
62 |
|
|
63 |
/** 实际数量 */ |
|
64 |
@Excel(name = "实际数量") |
|
65 |
private Long actualQty; |
|
66 |
|
|
67 |
/** 不良数量 */ |
|
68 |
@Excel(name = "不良数量") |
|
69 |
private Long badQty; |
|
70 |
|
|
71 |
/** 报废数量 */ |
|
72 |
@Excel(name = "报废数量") |
|
73 |
private Long scrapQty; |
|
74 |
|
|
75 |
/** 返修数量 */ |
|
76 |
@Excel(name = "返修数量") |
|
77 |
private Long repairQty; |
|
78 |
|
|
79 |
/** 实际上线数量 */ |
|
80 |
@Excel(name = "实际上线数量") |
|
81 |
private Long actualOnlineQty; |
|
82 |
|
|
83 |
/** 上线完工标记 */ |
|
84 |
private String onlineCompletionMark; |
|
85 |
|
|
86 |
private Long frontEndId; |
|
87 |
|
|
88 |
/** 需求日期 */ |
|
89 |
@JsonFormat(pattern = "yyyy-MM-dd") |
|
90 |
@Excel(name = "需求日期", width = 30, dateFormat = "yyyy-MM-dd") |
|
91 |
private Date demandDate; |
|
92 |
|
|
93 |
/** 计划开始时间 */ |
|
94 |
@Excel(name = "计划开始时间") |
|
95 |
private String planStartTime; |
|
96 |
|
|
97 |
/** 计划结束时间 */ |
|
98 |
@Excel(name = "计划结束时间") |
|
99 |
private String planEndTime; |
|
100 |
|
|
101 |
/** 实际开始时间 */ |
|
102 |
@Excel(name = "实际开始时间") |
|
103 |
private String actualStartTime; |
|
104 |
|
|
105 |
/** 实际结束时间 */ |
|
106 |
@Excel(name = "实际结束时间") |
|
107 |
private String actualEndTime; |
|
108 |
|
|
109 |
/** 顺序号 */ |
|
110 |
@Excel(name = "顺序号") |
|
111 |
private Long serialNumber; |
|
112 |
|
|
113 |
/** 工单状态(1创建、2已发布、3生产中、4已冻结、5已完工、6已关闭) */ |
|
114 |
@Excel(name = "工单状态", readConverterExp = "1=创建、2已发布、3生产中、4已冻结、5已完工、6已关闭") |
|
115 |
private String orderStatus; |
|
116 |
|
|
117 |
/** 创建人 */ |
|
118 |
@Excel(name = "创建人") |
|
119 |
private String createUser; |
|
120 |
|
|
121 |
/** 修改人 */ |
|
122 |
@Excel(name = "修改人") |
|
123 |
private String updateUser; |
|
124 |
|
|
125 |
/** 备注 */ |
|
126 |
@Excel(name = "备注") |
|
127 |
private String remarks; |
|
128 |
|
|
129 |
/** 流水号 */ |
|
130 |
@Excel(name = "流水号") |
|
131 |
private String streamNumber; |
|
132 |
|
|
133 |
/** 客户 */ |
|
134 |
@Excel(name = "客户") |
|
135 |
private String custom; |
|
136 |
|
|
137 |
/** 市场区域编码 */ |
|
138 |
@Excel(name = "市场区域编码") |
|
139 |
private String marketAreaCode; |
|
140 |
|
|
141 |
/** 软件版本编码 */ |
|
142 |
@Excel(name = "软件版本编码") |
|
143 |
private String softwareVersionCode; |
|
144 |
|
|
145 |
/** 产品公司编码 */ |
|
146 |
@Excel(name = "产品公司编码") |
|
147 |
private String productCompanyCode; |
065fe8
|
148 |
@Excel(name = "种类") |
H |
149 |
private String typeZ; |
fd2207
|
150 |
|
懒 |
151 |
/** 预留字段1 */ |
|
152 |
private String spareField1; |
|
153 |
|
|
154 |
/** 预留字段2 */ |
|
155 |
private String spareField2; |
|
156 |
|
|
157 |
/** 预留字段3 */ |
|
158 |
private String spareField3; |
|
159 |
|
|
160 |
/** 预留字段4 */ |
|
161 |
private String spareField4; |
|
162 |
|
|
163 |
private Long[] idNums; |
|
164 |
|
|
165 |
private String flag; |
|
166 |
|
|
167 |
public String getFlag() { |
|
168 |
return flag; |
|
169 |
} |
|
170 |
|
|
171 |
public void setFlag(String flag) { |
|
172 |
this.flag = flag; |
|
173 |
} |
|
174 |
|
|
175 |
public Long[] getIdNums() { |
|
176 |
return idNums; |
|
177 |
} |
|
178 |
|
|
179 |
public void setIdNums(Long[] idNums) { |
|
180 |
this.idNums = idNums; |
|
181 |
} |
|
182 |
|
|
183 |
public Long getFrontEndId() { |
|
184 |
return frontEndId; |
|
185 |
} |
|
186 |
|
|
187 |
public void setFrontEndId(Long frontEndId) { |
|
188 |
this.frontEndId = frontEndId; |
|
189 |
} |
|
190 |
|
|
191 |
public void setId(Long id) |
|
192 |
{ |
|
193 |
this.id = id; |
|
194 |
} |
|
195 |
|
|
196 |
public Long getId() |
|
197 |
{ |
|
198 |
return id; |
|
199 |
} |
|
200 |
public void setWorkOrderNo(String workOrderNo) |
|
201 |
{ |
|
202 |
this.workOrderNo = workOrderNo; |
|
203 |
} |
|
204 |
|
|
205 |
public String getWorkOrderNo() |
|
206 |
{ |
|
207 |
return workOrderNo; |
|
208 |
} |
|
209 |
public void setSalesOrderCode(String salesOrderCode) |
|
210 |
{ |
|
211 |
this.salesOrderCode = salesOrderCode; |
|
212 |
} |
|
213 |
|
|
214 |
public String getSalesOrderCode() |
|
215 |
{ |
|
216 |
return salesOrderCode; |
|
217 |
} |
|
218 |
public void setProductCode(String productCode) |
|
219 |
{ |
|
220 |
this.productCode = productCode; |
|
221 |
} |
|
222 |
|
|
223 |
public String getProductCode() |
|
224 |
{ |
|
225 |
return productCode; |
|
226 |
} |
|
227 |
public void setProductName(String productName) |
|
228 |
{ |
|
229 |
this.productName = productName; |
|
230 |
} |
|
231 |
|
|
232 |
public String getProductName() |
|
233 |
{ |
|
234 |
return productName; |
|
235 |
} |
|
236 |
public void setWorkshopCode(String workshopCode) |
|
237 |
{ |
|
238 |
this.workshopCode = workshopCode; |
|
239 |
} |
|
240 |
|
|
241 |
public String getWorkshopCode() |
|
242 |
{ |
|
243 |
return workshopCode; |
|
244 |
} |
|
245 |
public void setLineCode(String lineCode) |
|
246 |
{ |
|
247 |
this.lineCode = lineCode; |
|
248 |
} |
|
249 |
|
|
250 |
public String getLineCode() |
|
251 |
{ |
|
252 |
return lineCode; |
|
253 |
} |
|
254 |
public void setRouteCode(String routeCode) |
|
255 |
{ |
|
256 |
this.routeCode = routeCode; |
|
257 |
} |
|
258 |
|
|
259 |
public String getRouteCode() |
|
260 |
{ |
|
261 |
return routeCode; |
|
262 |
} |
|
263 |
public void setBomCode(String bomCode) |
|
264 |
{ |
|
265 |
this.bomCode = bomCode; |
|
266 |
} |
|
267 |
|
|
268 |
public String getBomCode() |
|
269 |
{ |
|
270 |
return bomCode; |
|
271 |
} |
|
272 |
public void setRecipeCode(String recipeCode) |
|
273 |
{ |
|
274 |
this.recipeCode = recipeCode; |
|
275 |
} |
|
276 |
|
|
277 |
public String getRecipeCode() |
|
278 |
{ |
|
279 |
return recipeCode; |
|
280 |
} |
|
281 |
public void setPlanQty(Long planQty) |
|
282 |
{ |
|
283 |
this.planQty = planQty; |
|
284 |
} |
|
285 |
|
|
286 |
public Long getPlanQty() |
|
287 |
{ |
|
288 |
return planQty; |
|
289 |
} |
|
290 |
public void setActualQty(Long actualQty) |
|
291 |
{ |
|
292 |
this.actualQty = actualQty; |
|
293 |
} |
|
294 |
|
|
295 |
public Long getActualQty() |
|
296 |
{ |
|
297 |
return actualQty; |
|
298 |
} |
|
299 |
public void setBadQty(Long badQty) |
|
300 |
{ |
|
301 |
this.badQty = badQty; |
|
302 |
} |
|
303 |
|
|
304 |
public Long getBadQty() |
|
305 |
{ |
|
306 |
return badQty; |
|
307 |
} |
|
308 |
public void setScrapQty(Long scrapQty) |
|
309 |
{ |
|
310 |
this.scrapQty = scrapQty; |
|
311 |
} |
|
312 |
|
|
313 |
public Long getScrapQty() |
|
314 |
{ |
|
315 |
return scrapQty; |
|
316 |
} |
|
317 |
public void setRepairQty(Long repairQty) |
|
318 |
{ |
|
319 |
this.repairQty = repairQty; |
|
320 |
} |
|
321 |
|
|
322 |
public Long getRepairQty() |
|
323 |
{ |
|
324 |
return repairQty; |
|
325 |
} |
|
326 |
public void setActualOnlineQty(Long actualOnlineQty) |
|
327 |
{ |
|
328 |
this.actualOnlineQty = actualOnlineQty; |
|
329 |
} |
|
330 |
|
|
331 |
public Long getActualOnlineQty() |
|
332 |
{ |
|
333 |
return actualOnlineQty; |
|
334 |
} |
|
335 |
public void setOnlineCompletionMark(String onlineCompletionMark) |
|
336 |
{ |
|
337 |
this.onlineCompletionMark = onlineCompletionMark; |
|
338 |
} |
|
339 |
|
|
340 |
public String getOnlineCompletionMark() |
|
341 |
{ |
|
342 |
return onlineCompletionMark; |
|
343 |
} |
|
344 |
public void setDemandDate(Date demandDate) |
|
345 |
{ |
|
346 |
this.demandDate = demandDate; |
|
347 |
} |
|
348 |
|
|
349 |
public Date getDemandDate() |
|
350 |
{ |
|
351 |
return demandDate; |
|
352 |
} |
|
353 |
public void setPlanStartTime(String planStartTime) |
|
354 |
{ |
|
355 |
this.planStartTime = planStartTime; |
|
356 |
} |
|
357 |
|
|
358 |
public String getPlanStartTime() |
|
359 |
{ |
|
360 |
return planStartTime; |
|
361 |
} |
|
362 |
public void setPlanEndTime(String planEndTime) |
|
363 |
{ |
|
364 |
this.planEndTime = planEndTime; |
|
365 |
} |
|
366 |
|
|
367 |
public String getPlanEndTime() |
|
368 |
{ |
|
369 |
return planEndTime; |
|
370 |
} |
|
371 |
public void setActualStartTime(String actualStartTime) |
|
372 |
{ |
|
373 |
this.actualStartTime = actualStartTime; |
|
374 |
} |
|
375 |
|
|
376 |
public String getActualStartTime() |
|
377 |
{ |
|
378 |
return actualStartTime; |
|
379 |
} |
|
380 |
public void setActualEndTime(String actualEndTime) |
|
381 |
{ |
|
382 |
this.actualEndTime = actualEndTime; |
|
383 |
} |
|
384 |
|
|
385 |
public String getActualEndTime() |
|
386 |
{ |
|
387 |
return actualEndTime; |
|
388 |
} |
|
389 |
public void setSerialNumber(Long serialNumber) |
|
390 |
{ |
|
391 |
this.serialNumber = serialNumber; |
|
392 |
} |
|
393 |
|
|
394 |
public Long getSerialNumber() |
|
395 |
{ |
|
396 |
return serialNumber; |
|
397 |
} |
|
398 |
public void setOrderStatus(String orderStatus) |
|
399 |
{ |
|
400 |
this.orderStatus = orderStatus; |
|
401 |
} |
|
402 |
|
|
403 |
public String getOrderStatus() |
|
404 |
{ |
|
405 |
return orderStatus; |
|
406 |
} |
|
407 |
public void setCreateUser(String createUser) |
|
408 |
{ |
|
409 |
this.createUser = createUser; |
|
410 |
} |
|
411 |
|
|
412 |
public String getCreateUser() |
|
413 |
{ |
|
414 |
return createUser; |
|
415 |
} |
|
416 |
public void setUpdateUser(String updateUser) |
|
417 |
{ |
|
418 |
this.updateUser = updateUser; |
|
419 |
} |
|
420 |
|
|
421 |
public String getUpdateUser() |
|
422 |
{ |
|
423 |
return updateUser; |
|
424 |
} |
|
425 |
public void setRemarks(String remarks) |
|
426 |
{ |
|
427 |
this.remarks = remarks; |
|
428 |
} |
|
429 |
|
|
430 |
public String getRemarks() |
|
431 |
{ |
|
432 |
return remarks; |
|
433 |
} |
|
434 |
public void setStreamNumber(String streamNumber) |
|
435 |
{ |
|
436 |
this.streamNumber = streamNumber; |
|
437 |
} |
|
438 |
|
|
439 |
public String getStreamNumber() |
|
440 |
{ |
|
441 |
return streamNumber; |
|
442 |
} |
|
443 |
public void setCustom(String custom) |
|
444 |
{ |
|
445 |
this.custom = custom; |
|
446 |
} |
|
447 |
|
|
448 |
public String getCustom() |
|
449 |
{ |
|
450 |
return custom; |
|
451 |
} |
|
452 |
public void setMarketAreaCode(String marketAreaCode) |
|
453 |
{ |
|
454 |
this.marketAreaCode = marketAreaCode; |
|
455 |
} |
|
456 |
|
|
457 |
public String getMarketAreaCode() |
|
458 |
{ |
|
459 |
return marketAreaCode; |
|
460 |
} |
|
461 |
public void setSoftwareVersionCode(String softwareVersionCode) |
|
462 |
{ |
|
463 |
this.softwareVersionCode = softwareVersionCode; |
|
464 |
} |
|
465 |
|
|
466 |
public String getSoftwareVersionCode() |
|
467 |
{ |
|
468 |
return softwareVersionCode; |
|
469 |
} |
|
470 |
public void setProductCompanyCode(String productCompanyCode) |
|
471 |
{ |
|
472 |
this.productCompanyCode = productCompanyCode; |
|
473 |
} |
|
474 |
|
|
475 |
public String getProductCompanyCode() |
|
476 |
{ |
|
477 |
return productCompanyCode; |
|
478 |
} |
|
479 |
public void setSpareField1(String spareField1) |
|
480 |
{ |
|
481 |
this.spareField1 = spareField1; |
|
482 |
} |
|
483 |
|
|
484 |
public String getSpareField1() |
|
485 |
{ |
|
486 |
return spareField1; |
|
487 |
} |
|
488 |
public void setSpareField2(String spareField2) |
|
489 |
{ |
|
490 |
this.spareField2 = spareField2; |
|
491 |
} |
|
492 |
|
|
493 |
public String getSpareField2() |
|
494 |
{ |
|
495 |
return spareField2; |
|
496 |
} |
|
497 |
public void setSpareField3(String spareField3) |
|
498 |
{ |
|
499 |
this.spareField3 = spareField3; |
|
500 |
} |
|
501 |
|
|
502 |
public String getSpareField3() |
|
503 |
{ |
|
504 |
return spareField3; |
|
505 |
} |
|
506 |
public void setSpareField4(String spareField4) |
|
507 |
{ |
|
508 |
this.spareField4 = spareField4; |
|
509 |
} |
|
510 |
|
|
511 |
public String getSpareField4() |
|
512 |
{ |
|
513 |
return spareField4; |
|
514 |
} |
065fe8
|
515 |
public void setTypeZ(String typeZ) |
H |
516 |
{ |
|
517 |
this.typeZ = typeZ; |
|
518 |
} |
|
519 |
|
|
520 |
public String getTypeZ() |
|
521 |
{ |
|
522 |
return typeZ; |
|
523 |
} |
|
524 |
|
fd2207
|
525 |
|
3d8828
|
526 |
|
H |
527 |
|
fd2207
|
528 |
@Override |
懒 |
529 |
public String toString() { |
|
530 |
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|
531 |
.append("id", getId()) |
|
532 |
.append("workOrderNo", getWorkOrderNo()) |
065fe8
|
533 |
.append("typeZ", getTypeZ()) |
fd2207
|
534 |
.append("salesOrderCode", getSalesOrderCode()) |
懒 |
535 |
.append("productCode", getProductCode()) |
|
536 |
.append("productName", getProductName()) |
|
537 |
.append("workshopCode", getWorkshopCode()) |
|
538 |
.append("lineCode", getLineCode()) |
|
539 |
.append("routeCode", getRouteCode()) |
|
540 |
.append("bomCode", getBomCode()) |
|
541 |
.append("recipeCode", getRecipeCode()) |
|
542 |
.append("planQty", getPlanQty()) |
|
543 |
.append("actualQty", getActualQty()) |
|
544 |
.append("badQty", getBadQty()) |
|
545 |
.append("scrapQty", getScrapQty()) |
|
546 |
.append("repairQty", getRepairQty()) |
|
547 |
.append("actualOnlineQty", getActualOnlineQty()) |
|
548 |
.append("onlineCompletionMark", getOnlineCompletionMark()) |
|
549 |
.append("demandDate", getDemandDate()) |
|
550 |
.append("planStartTime", getPlanStartTime()) |
|
551 |
.append("planEndTime", getPlanEndTime()) |
|
552 |
.append("actualStartTime", getActualStartTime()) |
|
553 |
.append("actualEndTime", getActualEndTime()) |
|
554 |
.append("serialNumber", getSerialNumber()) |
|
555 |
.append("orderStatus", getOrderStatus()) |
|
556 |
.append("createTime", getCreateTime()) |
|
557 |
.append("updateTime", getUpdateTime()) |
|
558 |
.append("createUser", getCreateUser()) |
|
559 |
.append("updateUser", getUpdateUser()) |
|
560 |
.append("remarks", getRemarks()) |
|
561 |
.append("streamNumber", getStreamNumber()) |
|
562 |
.append("custom", getCustom()) |
|
563 |
.append("marketAreaCode", getMarketAreaCode()) |
|
564 |
.append("softwareVersionCode", getSoftwareVersionCode()) |
|
565 |
.append("productCompanyCode", getProductCompanyCode()) |
|
566 |
.append("spareField1", getSpareField1()) |
|
567 |
.append("spareField2", getSpareField2()) |
|
568 |
.append("spareField3", getSpareField3()) |
|
569 |
.append("spareField4", getSpareField4()) |
|
570 |
.toString(); |
|
571 |
} |
|
572 |
} |