提交 | 用户 | 时间
|
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 |
|
a5f938
|
151 |
private String typeL; |
C |
152 |
|
fd2207
|
153 |
/** 预留字段1 */ |
懒 |
154 |
private String spareField1; |
|
155 |
|
|
156 |
/** 预留字段2 */ |
|
157 |
private String spareField2; |
|
158 |
|
|
159 |
/** 预留字段3 */ |
|
160 |
private String spareField3; |
|
161 |
|
|
162 |
/** 预留字段4 */ |
|
163 |
private String spareField4; |
|
164 |
|
|
165 |
private Long[] idNums; |
|
166 |
|
|
167 |
private String flag; |
|
168 |
|
05d425
|
169 |
|
C |
170 |
|
|
171 |
private String dateTimeRule; |
|
172 |
private String startCode; |
|
173 |
|
162d0b
|
174 |
private String[] dateConditions; |
懒 |
175 |
|
|
176 |
private String startTime; |
|
177 |
|
|
178 |
private String endTime; |
|
179 |
|
|
180 |
public String[] getDateConditions() { |
|
181 |
return dateConditions; |
|
182 |
} |
|
183 |
|
|
184 |
public void setDateConditions(String[] dateConditions) { |
|
185 |
this.dateConditions = dateConditions; |
|
186 |
} |
|
187 |
|
|
188 |
public String getStartTime() { |
|
189 |
return startTime; |
|
190 |
} |
|
191 |
|
|
192 |
public void setStartTime(String startTime) { |
|
193 |
this.startTime = startTime; |
|
194 |
} |
|
195 |
|
|
196 |
public String getEndTime() { |
|
197 |
return endTime; |
|
198 |
} |
|
199 |
|
|
200 |
public void setEndTime(String endTime) { |
|
201 |
this.endTime = endTime; |
|
202 |
} |
05d425
|
203 |
|
C |
204 |
public String getDateTimeRule() { |
|
205 |
return dateTimeRule; |
|
206 |
} |
|
207 |
|
|
208 |
public void setDateTimeRule(String dateTimeRule) { |
|
209 |
this.dateTimeRule = dateTimeRule; |
|
210 |
} |
|
211 |
|
|
212 |
public String getStartCode() { |
|
213 |
return startCode; |
|
214 |
} |
|
215 |
|
|
216 |
public void setStartCode(String startCode) { |
|
217 |
this.startCode = startCode; |
|
218 |
} |
|
219 |
|
df1f2b
|
220 |
/** 生产通知单号 */ |
懒 |
221 |
@Excel(name = "生产通知单号") |
|
222 |
private String productionNotice; |
|
223 |
|
|
224 |
public String getProductionNotice() { |
|
225 |
return productionNotice; |
|
226 |
} |
|
227 |
|
|
228 |
public void setProductionNotice(String productionNotice) { |
|
229 |
this.productionNotice = productionNotice; |
|
230 |
} |
|
231 |
|
fd2207
|
232 |
public String getFlag() { |
懒 |
233 |
return flag; |
|
234 |
} |
|
235 |
|
|
236 |
public void setFlag(String flag) { |
|
237 |
this.flag = flag; |
|
238 |
} |
|
239 |
|
|
240 |
public Long[] getIdNums() { |
|
241 |
return idNums; |
|
242 |
} |
|
243 |
|
|
244 |
public void setIdNums(Long[] idNums) { |
|
245 |
this.idNums = idNums; |
|
246 |
} |
|
247 |
|
|
248 |
public Long getFrontEndId() { |
|
249 |
return frontEndId; |
|
250 |
} |
|
251 |
|
|
252 |
public void setFrontEndId(Long frontEndId) { |
|
253 |
this.frontEndId = frontEndId; |
|
254 |
} |
|
255 |
|
|
256 |
public void setId(Long id) |
|
257 |
{ |
|
258 |
this.id = id; |
|
259 |
} |
|
260 |
|
|
261 |
public Long getId() |
|
262 |
{ |
|
263 |
return id; |
|
264 |
} |
|
265 |
public void setWorkOrderNo(String workOrderNo) |
|
266 |
{ |
|
267 |
this.workOrderNo = workOrderNo; |
|
268 |
} |
|
269 |
|
|
270 |
public String getWorkOrderNo() |
|
271 |
{ |
|
272 |
return workOrderNo; |
|
273 |
} |
|
274 |
public void setSalesOrderCode(String salesOrderCode) |
|
275 |
{ |
|
276 |
this.salesOrderCode = salesOrderCode; |
|
277 |
} |
|
278 |
|
|
279 |
public String getSalesOrderCode() |
|
280 |
{ |
|
281 |
return salesOrderCode; |
|
282 |
} |
|
283 |
public void setProductCode(String productCode) |
|
284 |
{ |
|
285 |
this.productCode = productCode; |
|
286 |
} |
|
287 |
|
|
288 |
public String getProductCode() |
|
289 |
{ |
|
290 |
return productCode; |
|
291 |
} |
|
292 |
public void setProductName(String productName) |
|
293 |
{ |
|
294 |
this.productName = productName; |
|
295 |
} |
|
296 |
|
|
297 |
public String getProductName() |
|
298 |
{ |
|
299 |
return productName; |
|
300 |
} |
|
301 |
public void setWorkshopCode(String workshopCode) |
|
302 |
{ |
|
303 |
this.workshopCode = workshopCode; |
|
304 |
} |
|
305 |
|
|
306 |
public String getWorkshopCode() |
|
307 |
{ |
|
308 |
return workshopCode; |
|
309 |
} |
|
310 |
public void setLineCode(String lineCode) |
|
311 |
{ |
|
312 |
this.lineCode = lineCode; |
|
313 |
} |
|
314 |
|
|
315 |
public String getLineCode() |
|
316 |
{ |
|
317 |
return lineCode; |
|
318 |
} |
|
319 |
public void setRouteCode(String routeCode) |
|
320 |
{ |
|
321 |
this.routeCode = routeCode; |
|
322 |
} |
|
323 |
|
|
324 |
public String getRouteCode() |
|
325 |
{ |
|
326 |
return routeCode; |
|
327 |
} |
|
328 |
public void setBomCode(String bomCode) |
|
329 |
{ |
|
330 |
this.bomCode = bomCode; |
|
331 |
} |
|
332 |
|
|
333 |
public String getBomCode() |
|
334 |
{ |
|
335 |
return bomCode; |
|
336 |
} |
|
337 |
public void setRecipeCode(String recipeCode) |
|
338 |
{ |
|
339 |
this.recipeCode = recipeCode; |
|
340 |
} |
|
341 |
|
|
342 |
public String getRecipeCode() |
|
343 |
{ |
|
344 |
return recipeCode; |
|
345 |
} |
|
346 |
public void setPlanQty(Long planQty) |
|
347 |
{ |
|
348 |
this.planQty = planQty; |
|
349 |
} |
|
350 |
|
|
351 |
public Long getPlanQty() |
|
352 |
{ |
|
353 |
return planQty; |
|
354 |
} |
|
355 |
public void setActualQty(Long actualQty) |
|
356 |
{ |
|
357 |
this.actualQty = actualQty; |
|
358 |
} |
|
359 |
|
|
360 |
public Long getActualQty() |
|
361 |
{ |
|
362 |
return actualQty; |
|
363 |
} |
|
364 |
public void setBadQty(Long badQty) |
|
365 |
{ |
|
366 |
this.badQty = badQty; |
|
367 |
} |
|
368 |
|
|
369 |
public Long getBadQty() |
|
370 |
{ |
|
371 |
return badQty; |
|
372 |
} |
|
373 |
public void setScrapQty(Long scrapQty) |
|
374 |
{ |
|
375 |
this.scrapQty = scrapQty; |
|
376 |
} |
|
377 |
|
|
378 |
public Long getScrapQty() |
|
379 |
{ |
|
380 |
return scrapQty; |
|
381 |
} |
|
382 |
public void setRepairQty(Long repairQty) |
|
383 |
{ |
|
384 |
this.repairQty = repairQty; |
|
385 |
} |
|
386 |
|
|
387 |
public Long getRepairQty() |
|
388 |
{ |
|
389 |
return repairQty; |
|
390 |
} |
|
391 |
public void setActualOnlineQty(Long actualOnlineQty) |
|
392 |
{ |
|
393 |
this.actualOnlineQty = actualOnlineQty; |
|
394 |
} |
|
395 |
|
|
396 |
public Long getActualOnlineQty() |
|
397 |
{ |
|
398 |
return actualOnlineQty; |
|
399 |
} |
|
400 |
public void setOnlineCompletionMark(String onlineCompletionMark) |
|
401 |
{ |
|
402 |
this.onlineCompletionMark = onlineCompletionMark; |
|
403 |
} |
|
404 |
|
|
405 |
public String getOnlineCompletionMark() |
|
406 |
{ |
|
407 |
return onlineCompletionMark; |
|
408 |
} |
|
409 |
public void setDemandDate(Date demandDate) |
|
410 |
{ |
|
411 |
this.demandDate = demandDate; |
|
412 |
} |
|
413 |
|
|
414 |
public Date getDemandDate() |
|
415 |
{ |
|
416 |
return demandDate; |
|
417 |
} |
|
418 |
public void setPlanStartTime(String planStartTime) |
|
419 |
{ |
|
420 |
this.planStartTime = planStartTime; |
|
421 |
} |
|
422 |
|
|
423 |
public String getPlanStartTime() |
|
424 |
{ |
|
425 |
return planStartTime; |
|
426 |
} |
|
427 |
public void setPlanEndTime(String planEndTime) |
|
428 |
{ |
|
429 |
this.planEndTime = planEndTime; |
|
430 |
} |
|
431 |
|
|
432 |
public String getPlanEndTime() |
|
433 |
{ |
|
434 |
return planEndTime; |
|
435 |
} |
|
436 |
public void setActualStartTime(String actualStartTime) |
|
437 |
{ |
|
438 |
this.actualStartTime = actualStartTime; |
|
439 |
} |
|
440 |
|
|
441 |
public String getActualStartTime() |
|
442 |
{ |
|
443 |
return actualStartTime; |
|
444 |
} |
|
445 |
public void setActualEndTime(String actualEndTime) |
|
446 |
{ |
|
447 |
this.actualEndTime = actualEndTime; |
|
448 |
} |
|
449 |
|
|
450 |
public String getActualEndTime() |
|
451 |
{ |
|
452 |
return actualEndTime; |
|
453 |
} |
|
454 |
public void setSerialNumber(Long serialNumber) |
|
455 |
{ |
|
456 |
this.serialNumber = serialNumber; |
|
457 |
} |
|
458 |
|
|
459 |
public Long getSerialNumber() |
|
460 |
{ |
|
461 |
return serialNumber; |
|
462 |
} |
|
463 |
public void setOrderStatus(String orderStatus) |
|
464 |
{ |
|
465 |
this.orderStatus = orderStatus; |
|
466 |
} |
|
467 |
|
|
468 |
public String getOrderStatus() |
|
469 |
{ |
|
470 |
return orderStatus; |
|
471 |
} |
|
472 |
public void setCreateUser(String createUser) |
|
473 |
{ |
|
474 |
this.createUser = createUser; |
|
475 |
} |
|
476 |
|
|
477 |
public String getCreateUser() |
|
478 |
{ |
|
479 |
return createUser; |
|
480 |
} |
|
481 |
public void setUpdateUser(String updateUser) |
|
482 |
{ |
|
483 |
this.updateUser = updateUser; |
|
484 |
} |
|
485 |
|
|
486 |
public String getUpdateUser() |
|
487 |
{ |
|
488 |
return updateUser; |
|
489 |
} |
|
490 |
public void setRemarks(String remarks) |
|
491 |
{ |
|
492 |
this.remarks = remarks; |
|
493 |
} |
|
494 |
|
|
495 |
public String getRemarks() |
|
496 |
{ |
|
497 |
return remarks; |
|
498 |
} |
|
499 |
public void setStreamNumber(String streamNumber) |
|
500 |
{ |
|
501 |
this.streamNumber = streamNumber; |
|
502 |
} |
|
503 |
|
|
504 |
public String getStreamNumber() |
|
505 |
{ |
|
506 |
return streamNumber; |
|
507 |
} |
|
508 |
public void setCustom(String custom) |
|
509 |
{ |
|
510 |
this.custom = custom; |
|
511 |
} |
|
512 |
|
|
513 |
public String getCustom() |
|
514 |
{ |
|
515 |
return custom; |
|
516 |
} |
|
517 |
public void setMarketAreaCode(String marketAreaCode) |
|
518 |
{ |
|
519 |
this.marketAreaCode = marketAreaCode; |
|
520 |
} |
|
521 |
|
|
522 |
public String getMarketAreaCode() |
|
523 |
{ |
|
524 |
return marketAreaCode; |
|
525 |
} |
|
526 |
public void setSoftwareVersionCode(String softwareVersionCode) |
|
527 |
{ |
|
528 |
this.softwareVersionCode = softwareVersionCode; |
|
529 |
} |
|
530 |
|
|
531 |
public String getSoftwareVersionCode() |
|
532 |
{ |
|
533 |
return softwareVersionCode; |
|
534 |
} |
|
535 |
public void setProductCompanyCode(String productCompanyCode) |
|
536 |
{ |
|
537 |
this.productCompanyCode = productCompanyCode; |
|
538 |
} |
|
539 |
|
|
540 |
public String getProductCompanyCode() |
|
541 |
{ |
|
542 |
return productCompanyCode; |
|
543 |
} |
|
544 |
public void setSpareField1(String spareField1) |
|
545 |
{ |
|
546 |
this.spareField1 = spareField1; |
|
547 |
} |
|
548 |
|
|
549 |
public String getSpareField1() |
|
550 |
{ |
|
551 |
return spareField1; |
|
552 |
} |
|
553 |
public void setSpareField2(String spareField2) |
|
554 |
{ |
|
555 |
this.spareField2 = spareField2; |
|
556 |
} |
|
557 |
|
|
558 |
public String getSpareField2() |
|
559 |
{ |
|
560 |
return spareField2; |
|
561 |
} |
|
562 |
public void setSpareField3(String spareField3) |
|
563 |
{ |
|
564 |
this.spareField3 = spareField3; |
|
565 |
} |
|
566 |
|
|
567 |
public String getSpareField3() |
|
568 |
{ |
|
569 |
return spareField3; |
|
570 |
} |
|
571 |
public void setSpareField4(String spareField4) |
|
572 |
{ |
|
573 |
this.spareField4 = spareField4; |
|
574 |
} |
|
575 |
|
|
576 |
public String getSpareField4() |
|
577 |
{ |
|
578 |
return spareField4; |
|
579 |
} |
065fe8
|
580 |
public void setTypeZ(String typeZ) |
H |
581 |
{ |
|
582 |
this.typeZ = typeZ; |
|
583 |
} |
|
584 |
|
|
585 |
public String getTypeZ() |
|
586 |
{ |
|
587 |
return typeZ; |
|
588 |
} |
|
589 |
|
a5f938
|
590 |
public String getTypeL() { |
C |
591 |
return typeL; |
|
592 |
} |
fd2207
|
593 |
|
a5f938
|
594 |
public void setTypeL(String typeL) { |
C |
595 |
this.typeL = typeL; |
|
596 |
} |
3d8828
|
597 |
|
H |
598 |
|
fd2207
|
599 |
@Override |
懒 |
600 |
public String toString() { |
|
601 |
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|
602 |
.append("id", getId()) |
|
603 |
.append("workOrderNo", getWorkOrderNo()) |
065fe8
|
604 |
.append("typeZ", getTypeZ()) |
fd2207
|
605 |
.append("salesOrderCode", getSalesOrderCode()) |
懒 |
606 |
.append("productCode", getProductCode()) |
|
607 |
.append("productName", getProductName()) |
|
608 |
.append("workshopCode", getWorkshopCode()) |
|
609 |
.append("lineCode", getLineCode()) |
|
610 |
.append("routeCode", getRouteCode()) |
|
611 |
.append("bomCode", getBomCode()) |
|
612 |
.append("recipeCode", getRecipeCode()) |
|
613 |
.append("planQty", getPlanQty()) |
|
614 |
.append("actualQty", getActualQty()) |
|
615 |
.append("badQty", getBadQty()) |
|
616 |
.append("scrapQty", getScrapQty()) |
|
617 |
.append("repairQty", getRepairQty()) |
|
618 |
.append("actualOnlineQty", getActualOnlineQty()) |
|
619 |
.append("onlineCompletionMark", getOnlineCompletionMark()) |
|
620 |
.append("demandDate", getDemandDate()) |
|
621 |
.append("planStartTime", getPlanStartTime()) |
|
622 |
.append("planEndTime", getPlanEndTime()) |
|
623 |
.append("actualStartTime", getActualStartTime()) |
|
624 |
.append("actualEndTime", getActualEndTime()) |
|
625 |
.append("serialNumber", getSerialNumber()) |
|
626 |
.append("orderStatus", getOrderStatus()) |
|
627 |
.append("createTime", getCreateTime()) |
|
628 |
.append("updateTime", getUpdateTime()) |
|
629 |
.append("createUser", getCreateUser()) |
|
630 |
.append("updateUser", getUpdateUser()) |
|
631 |
.append("remarks", getRemarks()) |
|
632 |
.append("streamNumber", getStreamNumber()) |
|
633 |
.append("custom", getCustom()) |
|
634 |
.append("marketAreaCode", getMarketAreaCode()) |
|
635 |
.append("softwareVersionCode", getSoftwareVersionCode()) |
|
636 |
.append("productCompanyCode", getProductCompanyCode()) |
|
637 |
.append("spareField1", getSpareField1()) |
|
638 |
.append("spareField2", getSpareField2()) |
|
639 |
.append("spareField3", getSpareField3()) |
|
640 |
.append("spareField4", getSpareField4()) |
|
641 |
.toString(); |
|
642 |
} |
|
643 |
} |