package cn.iocoder.yudao.module.mes.controller.admin.pro.maintenancecalendar.vo; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotEmpty; import jakarta.validation.constraints.NotNull; import lombok.Data; import java.time.LocalDate; @Schema(description = "管理后台 - MES 电力运维日历新增/修改 Request VO") @Data public class MesProMaintenanceCalendarSaveReqVO { @Schema(description = "编号(修改时必填)", example = "1") private Long id; @Schema(description = "日历名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "8月变电运维排班") @NotEmpty(message = "日历名称不能为空") private String name; @Schema(description = "作业日期", requiredMode = Schema.RequiredMode.REQUIRED, example = "2026-08-20") @NotNull(message = "作业日期不能为空") private LocalDate workDate; @Schema(description = "班次", example = "1") private Integer shift; @Schema(description = "作业类型(1变电运维/2线路巡检/3发电运维/4储能充放电/5电网调度)", example = "1") private Integer workType; @Schema(description = "作业区域/线路", example = "110kV 城区线") private String region; @Schema(description = "值班班组编号", example = "100") private Long teamId; @Schema(description = "值班班组名称", example = "变电运维一班") private String teamName; @Schema(description = "值班人员", example = "张三,李四") private String personnel; @Schema(description = "备注", example = "备注") private String remark; }