2026-06-30 24681c81c09022f584a57006f2534b5f74723414
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
42
43
package cn.iocoder.yudao.module.mes.controller.admin.wm.barcode.vo.config;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
@Schema(description = "管理后台 - MES 条码配置新增/修改 Request VO")
@Data
public class MesWmBarcodeConfigSaveReqVO {
 
    @Schema(description = "编号", example = "1024")
    private Long id;
 
    @Schema(description = "条码格式", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "条码格式不能为空")
    private Integer format;
 
    @Schema(description = "业务类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "102")
    @NotNull(message = "业务类型不能为空")
    private Integer bizType;
 
    @Schema(description = "内容格式模板", requiredMode = Schema.RequiredMode.REQUIRED, example = "WH-{BUSINESSCODE}")
    @NotEmpty(message = "内容格式模板不能为空")
    private String contentFormat;
 
    @Schema(description = "内容样例", example = "WH-WH001")
    private String contentExample;
 
    @Schema(description = "是否自动生成", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    @NotNull(message = "是否自动生成不能为空")
    private Boolean autoGenerateFlag;
 
    @Schema(description = "默认打印模板", example = "template1")
    private String defaultTemplate;
 
    @Schema(description = "状态", example = "0")
    private Integer status;
 
    @Schema(description = "备注", example = "备注")
    private String remark;
 
}