liu
23 小时以前 cdf5605fb5caa0da0f134893bac350785250ea8a
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
package cn.iocoder.yudao.module.mes.controller.admin.pro.process.vo.param;
 
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
@Schema(description = "管理后台 - MES 工序工艺参数绑定 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MesProProcessParamRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @ExcelProperty("编号")
    private Long id;
 
    @Schema(description = "工序编号", example = "1")
    private Long processId;
 
    @Schema(description = "工艺参数编号", example = "1")
    private Long processParamId;
 
    @Schema(description = "参数编码", example = "PP2024001")
    @ExcelProperty("参数编码")
    private String paramCode;
 
    @Schema(description = "参数名称", example = "温度")
    @ExcelProperty("参数名称")
    private String paramName;
 
    @Schema(description = "参数类型", example = "2")
    @ExcelProperty(value = "参数类型", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.MES_PD_PROCESS_PARAM_TYPE)
    private Integer paramType;
 
    @Schema(description = "计量单位编号", example = "1")
    private Long unitMeasureId;
 
    @Schema(description = "计量单位名称", example = "℃")
    @ExcelProperty("单位")
    private String unitMeasureName;
 
    @Schema(description = "是否必填", example = "true")
    @ExcelProperty("是否必填")
    private Boolean required;
 
    @Schema(description = "排序", example = "1")
    private Integer sort;
 
    @Schema(description = "备注", example = "备注")
    @ExcelProperty("备注")
    private String remark;
 
}