4 天以前 06321d70dd7617fdc7d475b190e629143fec3263
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
package cn.iocoder.yudao.module.mes.controller.admin.pro.line.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
@Schema(description = "管理后台 - MES 产线维护新增/修改 Request VO")
@Data
public class MesProLineSaveReqVO {
 
    @Schema(description = "编号", example = "1")
    private Long id;
 
    @Schema(description = "产线编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "L01")
    @NotBlank(message = "产线编码不能为空")
    private String code;
 
    @Schema(description = "产线名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "包装一线")
    @NotBlank(message = "产线名称不能为空")
    private String name;
 
    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @NotNull(message = "状态不能为空")
    private Integer status;
 
    @Schema(description = "备注", example = "包装产线")
    private String remark;
 
}