package cn.iocoder.yudao.module.mes.controller.admin.pro.pallet.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 MesProPalletPreGenerateReqVO { @Schema(description = "生成数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") @NotNull(message = "生成数量不能为空") @Positive(message = "生成数量必须大于 0") private Integer count; @Schema(description = "标称每托袋数(移动端选择 48 或 100;可继续扫描超出标称数)") @Positive(message = "每托袋数必须大于 0") private Integer capacity; @Schema(description = "备注") private String remark; }