package cn.iocoder.yudao.module.mes.controller.admin.pro.bagcode.vo; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.Positive; import lombok.Data; @Schema(description = "管理后台 - MES 袋码(二维码数据包)生成 Request VO") @Data public class MesProBagCodeGenerateReqVO { @Schema(description = "生产批次编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") @NotNull(message = "生产批次编号不能为空") private Long batchId; @Schema(description = "生成袋数(本次生成的袋码数量)", requiredMode = Schema.RequiredMode.REQUIRED, example = "100") @NotNull(message = "生成袋数不能为空") @Positive(message = "生成袋数必须大于 0") private Integer count; @Schema(description = "备注") private String remark; }