liyong
17 小时以前 d42f9256b4aab375b6c7897e11e99f07bf5f9c95
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
package cn.iocoder.yudao.module.mes.controller.admin.pro.task.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
 
import java.math.BigDecimal;
import java.util.List;
 
@Schema(description = "管理后台 - MES 一键排产预览 Response VO")
@Data
@Accessors(chain = true)
public class MesProTaskAutoGeneratePreviewRespVO {
 
    @Schema(description = "工单ID", example = "1001")
    private Long workOrderId;
 
    @Schema(description = "工艺路线ID", example = "101")
    private Long routeId;
 
    @Schema(description = "工艺路线名称", example = "产品A-标准工艺")
    private String routeName;
 
    @Schema(description = "预生成任务列表")
    private List<TaskPreview> taskList;
 
    @Data
    @Accessors(chain = true)
    public static class TaskPreview {
 
        @Schema(description = "工序ID", example = "1")
        private Long processId;
 
        @Schema(description = "工序名称", example = "下料")
        private String processName;
 
        @Schema(description = "工序顺序", example = "1")
        private Integer sort;
 
        @Schema(description = "建议工作站ID", example = "201")
        private Long suggestWorkstationId;
 
        @Schema(description = "建议工作站名称", example = "下料区-A01")
        private String suggestWorkstationName;
 
        @Schema(description = "排产数量", example = "100")
        private BigDecimal quantity;
 
        @Schema(description = "是否关键工序")
        private Boolean keyFlag;
    }
}