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
| package cn.lili.modules.order.order.entity.enums;
|
| /**
| * 订单的操作方式枚举
| *
| * @author Chopper
| * @since 2020/11/17 7:26 下午
| */
| public enum OrderOperateEnum {
|
|
| /**
| * 确认
| */
| CONFIRM("确认"),
|
| /**
| * 支付
| */
| PAY("支付"),
|
| /**
| * 发货
| */
| SHIP("发货"),
|
| /**
| * 确认收货
| */
| ROG("确认收货"),
|
| /**
| * 取消
| */
| CANCEL("取消"),
|
| /**
| * 评论
| */
| COMMENT("评论"),
|
| /**
| * 完成
| */
| COMPLETE("完成");
|
| private final String description;
|
| OrderOperateEnum(String description) {
| this.description = description;
| }
|
| public String description() {
| return this.description;
| }
|
| }
|
|