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
| package cn.lili.modules.order.order.entity.enums;
|
| /**
| * 订单状态枚举
| *
| * @author Chopper
| * @since 2020/11/17 7:28 下午
| */
| public enum PayStatusEnum {
|
| /**
| * 支付状态
| */
| UNPAID("待付款"),
| PAID("已付款"),
| CANCEL("已取消");
|
| private final String description;
|
| PayStatusEnum(String description) {
| this.description = description;
| }
|
| public String description() {
| return this.description;
| }
|
|
| }
|
|