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