zxl
6 天以前 2701dca44e1972afe9956ced2f949d2998c1bb4b
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
package cn.lili.modules.store.entity.enums;
 
/**
 * 店铺状态枚举
 *
 * @author pikachu
 * @since 2020年3月07日 上午11:04:25
 */
public enum StoreStatusEnum {
    /**
     * 开启中
     */
    OPEN("开启中"),
    /**
     * 店铺关闭
     */
    CLOSED("店铺关闭"),
    /**
     * 申请开店
     */
    APPLY("申请开店,只要完成第一步骤就是申请"),
    /**
     * 审核拒绝
     */
    REFUSED("审核拒绝"),
    /**
     * 申请中
     */
    APPLYING("申请中,提交审核");
 
    private final String description;
 
    StoreStatusEnum(String des) {
        this.description = des;
    }
 
    public String description() {
        return this.description;
    }
 
    public String value() {
        return this.name();
    }
}