3 天以前 09d3c4a46e1b67415a716251acea7a1c592c8af7
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
package cn.iocoder.yudao.module.mes.controller.admin.pro.task.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
 
 
@Schema(description = "管理后台 - 生产任务停工 Request VO")
@Data
public class MesProTaskPauseReqVO {
 
    @Schema(description = "任务编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "任务编号不能为空")
    private Long id;
 
    @Schema(description = "停工原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "设备故障")
    @NotEmpty(message = "停工原因不能为空")
    private String reason;
 
    @Schema(description = "备注", example = "维修中")
    private String remark;
 
}