9 小时以前 1b3fd46c7ccbf636208bcf098c5588441bb71f78
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
package cn.iocoder.yudao.module.mes.controller.admin.wm.productsales.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 MesWmProductSalesScanReqVO {
 
    @Schema(description = "销售出库单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "销售出库单ID不能为空")
    private Long salesId;
 
    @Schema(description = "扫描内容(袋码或托盘码)", requiredMode = Schema.RequiredMode.REQUIRED, example = "PC2026081920-0001")
    @NotEmpty(message = "扫描内容不能为空")
    private String scanContent;
 
    @Schema(description = "本次出库数量(为空则取该袋码/整托全部数量)", example = "50")
    private BigDecimal quantity;
 
}