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
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 MesProPalletBatchCreateReqVO {
 
    @Schema(description = "生产批次编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "生产批次编号不能为空")
    private Long batchId;
 
    @Schema(description = "生成数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    @NotNull(message = "生成数量不能为空")
    @Positive(message = "生成数量必须大于 0")
    private Integer count;
 
    @Schema(description = "可装袋数(袋/托盘)", example = "25")
    @Positive(message = "可装袋数必须大于 0")
    private Integer capacity;
 
    @Schema(description = "备注")
    private String remark;
 
}