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; }