9 天以前 106aaa378126774a2547b6c0d559c62114579f4c
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
package cn.iocoder.yudao.module.mes.controller.admin.pd.processparam.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import jakarta.validation.constraints.NotBlank;
 
@Schema(description = "管理后台 - MES 工艺参数新增/修改 Request VO")
@Data
public class MesPdProcessParamSaveReqVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "1024")
    private Long id;
 
    @Schema(description = "参数名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "温度")
    @NotBlank(message = "参数名称不能为空")
    private String paramName;
 
    @Schema(description = "参数类型", example = "1")
    private Integer paramType;
 
    @Schema(description = "计量单位ID", example = "1")
    private Long unitMeasureId;
 
    @Schema(description = "是否必填", example = "true")
    private Boolean required;
 
    @Schema(description = "备注", example = "测试备注")
    private String remark;
 
}