xiaoyi
5 天以前 c9d4ba37c1f681b12e24014013fa9a28734bad42
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.emergencyplan.vo;
 
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 MesProEmergencyPlanSaveReqVO {
 
    @Schema(description = "编号(修改时必填)", example = "1")
    private Long id;
 
    @Schema(description = "预案名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "变电站停电处置预案")
    @NotEmpty(message = "预案名称不能为空")
    private String name;
 
    @Schema(description = "预案类型(1=停电,2=设备故障,3=火灾,4=自然灾害,5=其他)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "预案类型不能为空")
    private Integer planType;
 
    @Schema(description = "处置内容", example = "1. 立即隔离故障...")
    private String content;
 
    @Schema(description = "责任单位/部门", example = "运维部")
    private String orgUnit;
 
    @Schema(description = "备注", example = "备注")
    private String remark;
 
}