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
package cn.iocoder.yudao.module.mes.dal.dataobject.wm.packages;
 
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import cn.iocoder.yudao.module.mes.dal.dataobject.md.client.MesMdClientDO;
import cn.iocoder.yudao.module.mes.dal.dataobject.md.unitmeasure.MesMdUnitMeasureDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
import cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
 
/**
 * MES 装箱单 DO
 *
 * @author 芋道源码
 */
@TableName("mes_wm_package")
@KeySequence("mes_wm_package_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MesWmPackageDO extends BaseDO {
 
    public static final Long PARENT_ID_ROOT = 0L;
 
    @TableId
    private Long id;
    /**
     * 装箱单编号
     */
    private String code;
    /**
     * 父箱 ID
     */
    private Long parentId;
    /**
     * 装箱日期
     */
    private LocalDateTime packageDate;
    /**
     * 销售订单编号
     */
    private String salesOrderCode;
    /**
     * 发票编号
     */
    private String invoiceCode;
    /**
     * 客户 ID
     *
     * 关联 {@link MesMdClientDO#getId()}
     */
    private Long clientId;
    /**
     * 箱长度
     */
    private BigDecimal length;
    /**
     * 箱宽度
     */
    private BigDecimal width;
    /**
     * 箱高度
     */
    private BigDecimal height;
    /**
     * 尺寸单位 ID
     *
     * 关联 {@link MesMdUnitMeasureDO#getId()}
     */
    private Long sizeUnitId;
    /**
     * 净重
     */
    private BigDecimal netWeight;
    /**
     * 毛重
     */
    private BigDecimal grossWeight;
    /**
     * 重量单位 ID
     *
     * 关联 {@link MesMdUnitMeasureDO#getId()}
     */
    private Long weightUnitId;
    /**
     * 检查员用户 ID
     *
     * 关联 AdminUserDO 的 id
     */
    private Long inspectorUserId;
    /**
     * 状态
     *
     * 字典 {@link DictTypeConstants#MES_WM_PACKAGE_STATUS}
     * 枚举 {@link cn.iocoder.yudao.module.mes.enums.wm.MesWmPackageStatusEnum}
     */
    private Integer status;
    /**
     * 备注
     */
    private String remark;
 
}