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;
|
|
}
|