peng
7 天以前 75f9783d5a70a5f037e3b34dc0e479069e63c0e9
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
package cn.lili.modules.goods.entity.enums;
 
/**
 * 商品类型
 *
 * @author Bulbasaur
 * @since 2021/5/28 4:23 下午
 */
public enum GoodsTypeEnum {
 
    /**
     * "实物商品"
     */
    PHYSICAL_GOODS("实物商品"),
    /**
     * "虚拟商品"
     */
    VIRTUAL_GOODS("虚拟商品"),
    /**
     * "电子卡券"
     */
    E_COUPON("电子卡券");
 
 
    private final String description;
 
    GoodsTypeEnum(String description) {
        this.description = description;
    }
 
    public String description() {
        return description;
    }
 
}