gaoluyang
6 天以前 7bd10d34e8a8dc2437ec8551eb511e37634d7306
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
package cn.iocoder.yudao.module.mes.controller.admin.wm.sorting.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Schema(description = "管理后台 - MES 分拣扫码校验 Request VO")
@Data
public class MesWmSortTaskScanReqVO {
 
    @Schema(description = "分拣任务编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "分拣任务编号不能为空")
    private Long taskId;
 
    @Schema(description = "分拣明细编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "分拣明细编号不能为空")
    private Long lineId;
 
    @Schema(description = "扫码内容(物料条码或批次号)", requiredMode = Schema.RequiredMode.REQUIRED, example = "6901234567890")
    @NotEmpty(message = "扫码内容不能为空")
    private String barcode;
 
    @Schema(description = "本次扫码数量(不填时取计划数量)", example = "10")
    private BigDecimal quantity;
 
}