package cn.iocoder.yudao.module.mes.controller.admin.pro.alternativeplan.vo; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotEmpty; import lombok.Data; @Schema(description = "管理后台 - MES 作业替代方案新增/修改 Request VO") @Data public class MesProAlternativePlanSaveReqVO { @Schema(description = "编号(修改时必填)", example = "1") private Long id; @Schema(description = "方案名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "线路巡检替代方案") @NotEmpty(message = "方案名称不能为空") private String name; @Schema(description = "主工序编号", example = "100") private Long mainProcessId; @Schema(description = "主工序名称", example = "线路巡检") private String mainProcessName; @Schema(description = "替代工序编号", example = "101") private Long altProcessId; @Schema(description = "替代工序名称", example = "无人机巡检") private String altProcessName; @Schema(description = "替代条件", example = "设备故障/负荷受限/人员不足") private String altCondition; @Schema(description = "适用范围", example = "110kV 线路") private String scope; @Schema(description = "备注", example = "备注") private String remark; }