tuqin
2026-11-03 9494075e6d9d2a4b2b884b4ed740dee0c434734c
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
package cn.iocoder.yudao.module.trade.dal.dataobject.domestic;
 
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.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * 内贸订单 DO
 *
 * @author mom
 */
@TableName("trade_domestic_order")
@KeySequence("trade_domestic_order_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TradeDomesticOrderDO extends BaseDO {
 
    /**
     * 编号
     */
    @TableId
    private Long id;
    /**
     * 内贸订单号
     */
    private String no;
    /**
     * 客户编号(关联 CRM 客户)
     */
    private Long customerId;
    /**
     * 业务员用户编号
     */
    private Long saleUserId;
    /**
     * 订单日期
     */
    private LocalDateTime orderTime;
    /**
     * 交货地址
     */
    private String deliveryAddress;
    /**
     * 合计数量
     */
    private BigDecimal totalCount;
    /**
     * 合计金额(元)
     */
    private BigDecimal totalPrice;
 
    /**
     * 状态
     *
     * 枚举 {@link cn.iocoder.yudao.module.trade.enums.TradeDomesticOrderStatusEnum}
     */
    private Integer status;
    /**
     * 工作流编号
     */
    private String processInstanceId;
    /**
     * 出库状态(0 未出库 / 1 部分出库 / 2 全部出库)
     */
    private Integer outStatus;
    /**
     * 已出库数量
     */
    private BigDecimal outCount;
    /**
     * 备注
     */
    private String remark;
 
}