昨天 eccad5a129106377a275be4f7cdc58e99e9b95d4
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
package cn.iocoder.yudao.module.mes.controller.admin.pro.workorder.vo.paramrecord;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.time.LocalDateTime;
import java.util.List;
 
@Schema(description = "管理后台 - MES 生产工单参数记录 Response VO")
@Data
public class MesProWorkOrderParamRecordRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;
 
    @Schema(description = "生产订单编号", example = "1")
    private Long workOrderId;
 
    @Schema(description = "生产工单编号")
    private Long taskId;
 
    @Schema(description = "参数模板编号", example = "1")
    private Long templateId;
 
    @Schema(description = "模板编码", example = "CSMB001")
    private String templateCode;
 
    @Schema(description = "模板名称", example = "注塑参数模板")
    private String templateName;
 
    @Schema(description = "记录序号/批次号", example = "BATCH-001")
    private String recordNo;
 
    @Schema(description = "备注", example = "备注")
    private String remark;
 
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;
 
    @Schema(description = "参数明细列表")
    private List<DetailResp> details;
 
    @Schema(description = "参数明细响应")
    @Data
    public static class DetailResp {
 
        @Schema(description = "编号", example = "1024")
        private Long id;
 
        @Schema(description = "模板明细编号", example = "1")
        private Long templateDetailId;
 
        @Schema(description = "参数编码", example = "TEMP")
        private String paramCode;
 
        @Schema(description = "参数名称", example = "温度")
        private String paramName;
 
        @Schema(description = "参数类型", example = "1")
        private Integer paramType;
 
        @Schema(description = "计量单位编号", example = "1")
        private Long unitMeasureId;
 
        @Schema(description = "计量单位名称", example = "℃")
        private String unitMeasureName;
 
        @Schema(description = "参数值", example = "200")
        private String paramValue;
 
        @Schema(description = "备注", example = "备注")
        private String remark;
 
    }
 
}