4 天以前 06321d70dd7617fdc7d475b190e629143fec3263
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
package cn.iocoder.yudao.module.mes.controller.admin.pro.batch.vo;
 
import cn.iocoder.yudao.module.mes.controller.admin.pro.bagcode.vo.MesProBagCodeRespVO;
import cn.iocoder.yudao.module.mes.controller.admin.pro.pallet.vo.MesProPalletRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.time.LocalDateTime;
import java.util.List;
 
@Schema(description = "管理后台 - MES 生产批次扫码追溯 Response VO")
@Data
public class MesProBatchTraceRespVO {
 
    // ========== 批次信息 ==========
 
    @Schema(description = "生产批次编号", example = "1024")
    private Long id;
 
    @Schema(description = "批次号(二维码内容)", example = "PC20260818L01001")
    private String code;
 
    @Schema(description = "批次状态(字典 mes_pro_batch_status)", example = "20")
    private Integer status;
 
    @Schema(description = "生产日期")
    private LocalDateTime produceDate;
 
    @Schema(description = "产线编码")
    private String lineCode;
 
    @Schema(description = "产线名称")
    private String lineName;
 
    @Schema(description = "责任人用户编号", example = "1")
    private Long ownerUserId;
 
    @Schema(description = "责任人昵称")
    private String ownerUserName;
 
    @Schema(description = "计划数量")
    private Integer planQuantity;
 
    @Schema(description = "已生成袋码数量")
    private Integer bagQuantity;
 
    @Schema(description = "已生成托盘码数量")
    private Integer palletQuantity;
 
    @Schema(description = "备注")
    private String remark;
 
    // ========== 品种信息 ==========
 
    @Schema(description = "品种(物料)编号", example = "1024")
    private Long itemId;
 
    @Schema(description = "品种编码")
    private String itemCode;
 
    @Schema(description = "品种名称")
    private String itemName;
 
    @Schema(description = "品种规格")
    private String itemSpecification;
 
    // ========== 追溯信息 ==========
 
    @Schema(description = "生产人员配置列表")
    private List<MesProBatchWorkerRespVO> workers;
 
    @Schema(description = "托盘码列表")
    private List<MesProPalletRespVO> pallets;
 
    @Schema(description = "袋码列表(最多前 2000 条,按袋序号升序)")
    private List<MesProBagCodeRespVO> bags;
 
    @Schema(description = "袋码总数(可能大于 bags 实际条数)")
    private Integer bagTotal;
 
}