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
package cn.iocoder.yudao.module.mes.controller.admin.pro.pallet.vo;
 
import cn.iocoder.yudao.module.mes.controller.admin.pro.bagcode.vo.MesProBagCodeRespVO;
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 MesProPalletTraceRespVO {
 
    // ========== 托盘信息 ==========
 
    @Schema(description = "托盘码编号", example = "1024")
    private Long id;
 
    @Schema(description = "托盘码(二维码内容)", example = "PC20260818L01001-P01")
    private String code;
 
    @Schema(description = "批次内托盘序号", example = "1")
    private Integer palletNo;
 
    @Schema(description = "可装袋数(袋/托盘)", example = "25")
    private Integer capacity;
 
    @Schema(description = "已绑定袋码数量", example = "10")
    private Integer bagCount;
 
    @Schema(description = "状态(字典 mes_pro_pallet_status)", example = "10")
    private Integer status;
 
    @Schema(description = "生产批次编号", example = "1024")
    private Long batchId;
 
    @Schema(description = "批次号", example = "PC20260818L01001")
    private String batchCode;
 
    @Schema(description = "备注")
    private String remark;
 
    // ========== 批次信息 ==========
 
    @Schema(description = "批次状态(字典 mes_pro_batch_status)", example = "20")
    private Integer batchStatus;
 
    @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 = "品种(物料)编号", example = "1024")
    private Long itemId;
 
    @Schema(description = "品种编码")
    private String itemCode;
 
    @Schema(description = "品种名称")
    private String itemName;
 
    @Schema(description = "品种规格")
    private String itemSpecification;
 
    // ========== 追溯信息 ==========
 
    @Schema(description = "绑定在该托盘上的袋码列表(按袋序号升序)")
    private List<MesProBagCodeRespVO> bags;
 
}