zxl
2025-06-16 0fb6b9d8d414822668c401a2b507df1fe6d1fa2d
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
package cn.lili.modules.order.order.entity.enums;
 
/**
 * 订单状态枚举
 *
 * @author Chopper
 * @since 2020/11/17 7:27 下午
 */
public enum OrderStatusEnum {
 
    /**
     * 订单状态
     */
    UNPAID("未付款"),
    PAID("已付款"),
    UNDELIVERED("待发货"),
    DELIVERED("已发货"),
    COMPLETED("已完成"),
    STAY_PICKED_UP("待自提"),
    /**
     * 虚拟订单需要核验商品
     */
    TAKE("待核验"),
    CANCELLED("已关闭");
 
    private final String description;
 
    OrderStatusEnum(String description) {
        this.description = description;
    }
 
    public String getDescription() {
        return description;
    }
 
    public String description() {
        return this.description;
    }
 
 
}