9 天以前 67c5d3ea86cfaad45c0150b96949dbcb6729b4d0
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
package cn.iocoder.yudao.module.mes.controller.admin.pro.task.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - MES 生产任务 Response VO")
@Data
public class MesProTaskRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;
 
    @Schema(description = "任务编码", example = "PT202503150001")
    private String code;
 
    @Schema(description = "任务名称", example = "注塑任务")
    private String name;
 
    @Schema(description = "生产工单编号", example = "1")
    private Long workOrderId;
 
    @Schema(description = "工单编码", example = "WO-001")
    private String workOrderCode;
 
    @Schema(description = "工单名称", example = "生产工单-A")
    private String workOrderName;
 
    @Schema(description = "工作站编号", example = "1")
    private Long workstationId;
 
    @Schema(description = "工作站编码", example = "WS-001")
    private String workstationCode;
 
    @Schema(description = "工作站名称", example = "注塑工作站")
    private String workstationName;
 
    @Schema(description = "工艺路线编号", example = "1")
    private Long routeId;
 
    @Schema(description = "工序编号", example = "1")
    private Long processId;
 
    @Schema(description = "工序名称", example = "注塑")
    private String processName;
 
    @Schema(description = "产品物料编号", example = "100")
    private Long itemId;
 
    @Schema(description = "产品编码", example = "P-001")
    private String itemCode;
 
    @Schema(description = "产品名称", example = "电路板")
    private String itemName;
 
    @Schema(description = "规格型号", example = "100x200mm")
    private String itemSpecification;
 
    @Schema(description = "计量单位名称", example = "个")
    private String unitMeasureName;
 
    @Schema(description = "排产数量", example = "100.00")
    private BigDecimal quantity;
 
    @Schema(description = "已生产数量", example = "50.00")
    private BigDecimal producedQuantity;
 
    @Schema(description = "合格品数量", example = "48.00")
    private BigDecimal qualifyQuantity;
 
    @Schema(description = "不良品数量", example = "2.00")
    private BigDecimal unqualifyQuantity;
 
    @Schema(description = "调整数量", example = "0")
    private BigDecimal changedQuantity;
 
    @Schema(description = "客户编号", example = "300")
    private Long clientId;
 
    @Schema(description = "客户名称", example = "客户A")
    private String clientName;
 
    @Schema(description = "开始生产时间")
    private LocalDateTime startTime;
 
    @Schema(description = "生产时长(工作日)", example = "3")
    private Integer duration;
 
    @Schema(description = "结束生产时间")
    private LocalDateTime endTime;
 
    @Schema(description = "甘特图显示颜色", example = "#00AEF3")
    private String colorCode;
 
    @Schema(description = "需求日期")
    private LocalDateTime requestDate;
 
    @Schema(description = "完成日期")
    private LocalDateTime finishDate;
 
    @Schema(description = "取消日期")
    private LocalDateTime cancelDate;
 
    @Schema(description = "任务状态", example = "0")
    private Integer status;
 
    @Schema(description = "是否质检(派生自工艺路线工序 checkFlag)", example = "true")
    private Boolean checkFlag;
 
    @Schema(description = "备注", example = "备注")
    private String remark;
 
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;
 
}