package cn.iocoder.yudao.module.mes.controller.admin.wm.productsales.vo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.math.BigDecimal; @Schema(description = "管理后台 - MES 销售出库扫码拣货 Response VO") @Data public class MesWmProductSalesScanRespVO { @Schema(description = "识别类型:PALLET-托盘码,BAG-袋码", example = "BAG") private String scanType; @Schema(description = "扫描的码编号", example = "12") private Long codeId; @Schema(description = "扫描内容(袋码或托盘码)", example = "PC2026081920-0001") private String scanContent; @Schema(description = "物料ID", example = "1") private Long itemId; @Schema(description = "物料编码", example = "ITEM001") private String itemCode; @Schema(description = "物料名称", example = "稻种") private String itemName; @Schema(description = "批次ID", example = "1") private Long batchId; @Schema(description = "批次号", example = "PC2026081920") private String batchCode; @Schema(description = "库存记录ID", example = "1") private Long materialStockId; @Schema(description = "可出库数量", example = "50.00") private BigDecimal availableQuantity; @Schema(description = "本袋/本托实际数量", example = "50.00") private BigDecimal scanQuantity; @Schema(description = "本次出库数量", example = "50.00") private BigDecimal outboundQuantity; @Schema(description = "是否已扫描过(幂等返回已有明细)", example = "false") private Boolean alreadyScanned; @Schema(description = "生成的销售出库明细ID(幂等返回时亦有值)", example = "100") private Long detailId; @Schema(description = "仓库ID", example = "1") private Long warehouseId; @Schema(description = "库区ID", example = "1") private Long locationId; @Schema(description = "库位ID", example = "1") private Long areaId; @Schema(description = "是否托盘展开(托盘码必为 true)", example = "false") private Boolean palletExpanded; @Schema(description = "绑定的袋码数量(托盘展开时返回)", example = "100") private Integer bagCount; @Schema(description = "已累加出库的袋码数量(托盘展开时返回)", example = "0") private Integer inboundBagCount; @Schema(description = "操作信息提示", example = "扫码成功") private String message; }