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
| package cn.lili.modules.promotion.entity.enums;
|
| /**
| * 促销状态枚举
| *
| * @author Chopper
| * @since 2020-03-19 3:53 下午
| */
| public enum PromotionsStatusEnum {
|
| /**
| * 新建
| */
| NEW("新建"),
| /**
| * 开始/上架
| */
| START("开始/上架"),
| /**
| * 结束/下架
| */
| END("结束/下架"),
| /**
| * 紧急关闭/作废
| */
| CLOSE("紧急关闭/作废");
|
| private final String description;
|
| PromotionsStatusEnum(String str) {
| this.description = str;
| }
|
| public String description() {
| return description;
| }
| }
|
|