Helius
2021-09-22 5d9010432be967902492b4171bea98e0a87dc474
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
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;
 
    @TableField(exist = false)
    private List<MallOrderItem> items;
}