2026-06-29 940c8481d2fdcf51341db4ccd6fd6fcc2d43debb
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
package cn.iocoder.yudao.module.mes.controller.admin.wm.packages.vo;
 
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * MES 装箱单 Response VO
 *
 * @author 芋道源码
 */
@Schema(description = "管理后台 - MES 装箱单 Response VO")
@Data
@Accessors(chain = true)
@ExcelIgnoreUnannotated
public class MesWmPackageRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @ExcelProperty("编号")
    private Long id;
 
    @Schema(description = "装箱单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "PKG20260307001")
    @ExcelProperty("装箱单编号")
    private String code;
 
    @Schema(description = "父箱 ID", example = "0")
    private Long parentId;
 
    @Schema(description = "装箱日期")
    @ExcelProperty("装箱日期")
    private LocalDateTime packageDate;
 
    @Schema(description = "销售订单编号", example = "SO20260301")
    @ExcelProperty("销售订单编号")
    private String salesOrderCode;
 
    @Schema(description = "发票编号", example = "INV20260301")
    @ExcelProperty("发票编号")
    private String invoiceCode;
 
    @Schema(description = "客户 ID", example = "1")
    private Long clientId;
 
    @Schema(description = "客户编码", example = "C001")
    @ExcelProperty("客户编码")
    private String clientCode;
 
    @Schema(description = "客户名称", example = "某客户")
    @ExcelProperty("客户名称")
    private String clientName;
 
    @Schema(description = "客户简称", example = "某客户简称")
    private String clientNickname;
 
    @Schema(description = "箱长度", example = "60.00")
    @ExcelProperty("箱长度")
    private BigDecimal length;
 
    @Schema(description = "箱宽度", example = "40.00")
    @ExcelProperty("箱宽度")
    private BigDecimal width;
 
    @Schema(description = "箱高度", example = "30.00")
    @ExcelProperty("箱高度")
    private BigDecimal height;
 
    @Schema(description = "尺寸单位 ID", example = "1")
    private Long sizeUnitId;
 
    @Schema(description = "尺寸单位名称", example = "厘米")
    @ExcelProperty("尺寸单位")
    private String sizeUnitName;
 
    @Schema(description = "净重", example = "10.00")
    @ExcelProperty("净重")
    private BigDecimal netWeight;
 
    @Schema(description = "毛重", example = "12.00")
    @ExcelProperty("毛重")
    private BigDecimal grossWeight;
 
    @Schema(description = "重量单位 ID", example = "2")
    private Long weightUnitId;
 
    @Schema(description = "重量单位名称", example = "千克")
    @ExcelProperty("重量单位")
    private String weightUnitName;
 
    @Schema(description = "检查员用户 ID", example = "1")
    private Long inspectorUserId;
 
    @Schema(description = "检查员姓名", example = "张三")
    @ExcelProperty("检查员")
    private String inspectorName;
 
    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @ExcelProperty("状态")
    private Integer status;
 
    @Schema(description = "备注", example = "备注")
    @ExcelProperty("备注")
    private String remark;
 
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
 
}