12 小时以前 6d910029b6c81db0a2b66caa66952781397b153a
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.stocktaking.task.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 盘点任务 PDA 扫码 Request VO")
@Data
public class MesWmStockTakingTaskScanReqVO {
 
    @Schema(description = "盘点任务编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "盘点任务编号不能为空")
    private Long taskId;
 
    @Schema(description = "追溯码/袋码/托盘码/批次号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "扫码内容不能为空")
    private String scanCode;
 
    @Schema(description = "盘点数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    @NotNull(message = "盘点数量不能为空")
    private BigDecimal takingQuantity;
 
    @Schema(description = "备注")
    private String remark;
 
}