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