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
| package com.iotechn.unimall.data.enums;
|
| import com.dobbinsoft.fw.core.enums.BaseEnums;
|
| /**
| * Created by rize on 2019/7/2.
| */
| public enum SpuSortType implements BaseEnums<String> {
| TIME("TIME", "创建时间"),
| SALES("SALES", "销量"),
| PRICE("PRICE", "价格"),
| ;
|
| SpuSortType(String code, String msg) {
| this.code = code;
| this.msg = msg;
| }
|
| private String code;
|
| private String msg;
|
| public String getCode() {
| return code;
| }
|
| public String getMsg() {
| return msg;
| }
| }
|
|