gaoluyang
9 天以前 cbadfd8e691ab335965202a984db16e55ac8e42c
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
package cn.iocoder.yudao.module.mes.dal.dataobject.wm.sorting;
 
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
 
import java.time.LocalDateTime;
 
/**
 * MES 分拣任务 DO
 *
 * 需求 5.3:订单分拣 —— 由发货通知单发起,分拣完成后触发出库配送
 */
@TableName("mes_wm_sort_task")
@KeySequence("mes_wm_sort_task_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MesWmSortTaskDO extends BaseDO {
 
    /**
     * 编号
     */
    @TableId
    private Long id;
    /**
     * 分拣任务编码
     */
    private String code;
    /**
     * 发货通知单编号
     *
     * 关联 mes_wm_sales_notice 的 id 字段
     */
    private Long noticeId;
    /**
     * 发货通知单编码
     */
    private String noticeCode;
    /**
     * 销售订单编号
     */
    private Long saleOrderId;
    /**
     * 销售订单编码
     */
    private String saleOrderCode;
    /**
     * 客户编号
     */
    private Long clientId;
    /**
     * 收货人
     */
    private String recipientName;
    /**
     * 收货电话
     */
    private String recipientTelephone;
    /**
     * 收货地址
     */
    private String recipientAddress;
    /**
     * 承运商(配送触发时填写)
     */
    private String carrier;
    /**
     * 物流单号(配送触发时填写)
     */
    private String shippingNumber;
    /**
     * 状态
     *
     * 枚举 {@link cn.iocoder.yudao.module.mes.enums.wm.MesWmSortTaskStatusEnum}
     */
    private Integer status;
    /**
     * 分拣人编号
     */
    private Long sortUserId;
    /**
     * 分拣完成时间
     */
    private LocalDateTime sortTime;
    /**
     * 打印次数
     */
    private Integer printCount;
    /**
     * 备注
     */
    private String remark;
 
}