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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
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;
 
    }
 
}