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
33
34
35
36
37
38
39
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;
 
}