4 小时以前 74ad846852f42b4e2258bfddd5c2a33cc1ce9847
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
40
41
package cn.iocoder.yudao.module.mes.controller.admin.pro.process.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Schema(description = "管理后台 - MES 生产工序新增/修改 Request VO")
@Data
public class MesProProcessSaveReqVO {
 
    @Schema(description = "编号", example = "1")
    private Long id;
 
    @Schema(description = "工序编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "PROCESS001")
    @NotBlank(message = "工序编码不能为空")
    private String code;
 
    @Schema(description = "工序名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "下料工序")
    @NotBlank(message = "工序名称不能为空")
    private String name;
 
    @Schema(description = "工艺要求", example = "按照图纸尺寸进行切割")
    private String attention;
 
    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @NotNull(message = "状态不能为空")
    private Integer status;
 
    @Schema(description = "等待时长(小时),报工前需倒计时等待", example = "2.00")
    private BigDecimal waitDuration;
 
    @Schema(description = "是否需要填写报工数量", example = "true")
    private Boolean needReportQuantity;
 
    @Schema(description = "备注", example = "金属板材下料")
    private String remark;
 
}