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
| package com.iotechn.unimall.data.enums;
|
| import com.dobbinsoft.fw.core.enums.BaseEnums;
|
| /**
| * Created with IntelliJ IDEA.
| * Description:
| * User: kbq
| * Date: 2020-03-26
| * Time: 下午6:46
| */
| public enum AdvertType implements BaseEnums<Integer> {
|
| CAROUSEL(1, "轮播"),
| CATEGORY_PICK(2, "分类精选"),
| BANNER(3, "横幅"),
| HOME_BUTTON(4, "首页5按钮"),
| POST_MSG(6, "公告"),
| PRODUCT_RECOMMEND(9, "商品推荐");
|
| AdvertType(int code, String msg) {
| this.code = code;
| this.msg = msg;
| }
|
| private int code;
|
| private String msg;
|
| public Integer getCode() {
| return code;
| }
|
| public String getMsg() {
| return msg;
| }
|
| }
|
|