2026-06-29 940c8481d2fdcf51341db4ccd6fd6fcc2d43debb
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
package cn.iocoder.yudao.module.mes.controller.admin.pro.andon.vo.config;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
@Schema(description = "管理后台 - MES 安灯呼叫配置新增/修改 Request VO")
@Data
public class MesProAndonConfigSaveReqVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;
 
    @Schema(description = "呼叫原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "设备故障")
    @NotEmpty(message = "呼叫原因不能为空")
    private String reason;
 
    @Schema(description = "级别", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "级别不能为空")
    private Integer level;
 
    @Schema(description = "处置人角色编号", example = "10")
    private Long handlerRoleId;
 
    @Schema(description = "处置人编号", example = "100")
    private Long handlerUserId;
 
    @Schema(description = "备注", example = "备注")
    private String remark;
 
}