package cn.iocoder.yudao.module.mes.controller.admin.wm.sorting.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import lombok.experimental.Accessors;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
import java.util.List;
|
|
@Schema(description = "管理后台 - MES 分拣任务 Response VO")
|
@Data
|
@Accessors(chain = true)
|
public class MesWmSortTaskRespVO {
|
|
@Schema(description = "编号", example = "1024")
|
private Long id;
|
|
@Schema(description = "分拣任务编码", example = "SORT20261030001")
|
private String code;
|
|
@Schema(description = "发货通知单编号", example = "1")
|
private Long noticeId;
|
|
@Schema(description = "发货通知单编码", example = "FH20261030001")
|
private String noticeCode;
|
|
@Schema(description = "销售订单编号", example = "1")
|
private Long saleOrderId;
|
|
@Schema(description = "销售订单编码", example = "XS20261030001")
|
private String saleOrderCode;
|
|
@Schema(description = "客户编号", example = "1")
|
private Long clientId;
|
|
@Schema(description = "客户名称", example = "滦南五金")
|
private String clientName;
|
|
@Schema(description = "收货人", example = "张三")
|
private String recipientName;
|
|
@Schema(description = "收货电话", example = "13800000000")
|
private String recipientTelephone;
|
|
@Schema(description = "收货地址", example = "河北唐山")
|
private String recipientAddress;
|
|
@Schema(description = "承运商", example = "顺丰")
|
private String carrier;
|
|
@Schema(description = "物流单号", example = "SF1234567890")
|
private String shippingNumber;
|
|
@Schema(description = "状态(1 待分拣 2 分拣中 3 已完成 4 已取消)", example = "1")
|
private Integer status;
|
|
@Schema(description = "分拣人编号", example = "1")
|
private Long sortUserId;
|
|
@Schema(description = "分拣人名称", example = "张三")
|
private String sortUserName;
|
|
@Schema(description = "分拣完成时间")
|
private LocalDateTime sortTime;
|
|
@Schema(description = "打印次数", example = "1")
|
private Integer printCount;
|
|
@Schema(description = "计划分拣数量合计")
|
private BigDecimal totalPlanQuantity;
|
|
@Schema(description = "实际分拣数量合计")
|
private BigDecimal totalSortedQuantity;
|
|
@Schema(description = "备注", example = "加急")
|
private String remark;
|
|
@Schema(description = "创建时间")
|
private LocalDateTime createTime;
|
|
@Schema(description = "分拣明细")
|
private List<Line> lines;
|
|
@Schema(description = "分拣明细项")
|
@Data
|
@Accessors(chain = true)
|
public static class Line {
|
|
@Schema(description = "明细编号", example = "1")
|
private Long id;
|
|
@Schema(description = "发货通知单行编号", example = "1")
|
private Long noticeLineId;
|
|
@Schema(description = "物料编号", example = "3113")
|
private Long itemId;
|
|
@Schema(description = "物料编码", example = "WL001")
|
private String itemCode;
|
|
@Schema(description = "物料名称", example = "螺栓")
|
private String itemName;
|
|
@Schema(description = "物料条码", example = "6901234567890")
|
private String itemBarCode;
|
|
@Schema(description = "批次号", example = "P20261030001")
|
private String batchCode;
|
|
@Schema(description = "库存记录编号", example = "1")
|
private Long materialStockId;
|
|
@Schema(description = "仓库编号", example = "1")
|
private Long warehouseId;
|
|
@Schema(description = "仓库名称", example = "产成品库")
|
private String warehouseName;
|
|
@Schema(description = "库区编号", example = "1")
|
private Long areaId;
|
|
@Schema(description = "库区名称", example = "A区")
|
private String areaName;
|
|
@Schema(description = "库位编号", example = "1")
|
private Long locationId;
|
|
@Schema(description = "库位名称", example = "A-01")
|
private String locationName;
|
|
@Schema(description = "计划分拣数量", example = "10")
|
private BigDecimal planQuantity;
|
|
@Schema(description = "实际分拣数量", example = "10")
|
private BigDecimal sortedQuantity;
|
|
@Schema(description = "是否已扫码校验", example = "true")
|
private Boolean scanned;
|
|
@Schema(description = "备注", example = "轻拿轻放")
|
private String remark;
|
|
}
|
|
}
|