xiaoyong931011
2022-06-23 b9fcf1d26f80fa9acde2bfe4e281e72956cc5d1d
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
package cc.mrbird.febs.mall.entity;
 
import cc.mrbird.febs.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
 
/**
 * @author wzy
 * @date 2021-09-18
 **/
@Data
@TableName("mall_order_info")
public class MallOrderInfo extends BaseEntity {
 
    private String orderNo;
 
    private Long memberId;
 
    private Date orderTime;
 
    private Date payTime;
 
    private BigDecimal amount;
 
    private String payMethod;
 
    private String payOrderNo;
 
    private String payResult;
 
    /**
     * 状态 1-待支付2-待发货3-待收货4-已完成5-退款中6-已退款7-已取消
     */
    private Integer status;
 
    /**
     * 取消类型 1-超时未支付2-主动取消
     */
    private Integer cancelType;
    public static final Integer CANCEL_OVERTIME_NO_PAY = 1;
    public static final Integer CANCEL_BY_SELF = 2;
 
    private String name;
 
    private String phone;
 
    private String address;
 
    private String longitude;
 
    private String latitude;
 
    private String remark;
 
    /**
     * 是否删除 1-是 2-否
     */
    private Integer delFlag;
 
    /**
     * 确认收货时间
     */
    private Date receivingTime;
 
    @TableField(exist = false)
    private List<MallOrderItem> items;
 
    private String payImage;
 
    private String payTradeNo;
 
    /**
     * 订单类型 1-普通订单 2-积分订单
     */
    private Integer orderType;
 
    private BigDecimal carriage;
 
    private Integer commentState;
    /**
     * 评价状态 1:待评价 2:已评价
     */
    public static final Integer COMMENT_STATE_NO = 1;
    public static final Integer COMMENT_STATE_YES = 2;
}