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
| package com.sinata.common.enums.base.enums;
|
| import com.sinata.common.enums.annotation.SwaggerDisplayEnum;
|
| /**
| * <p>
| * 枚举抽象
| * </p>
| *
| * @param
| * @author BaiHua
| * @Description 枚举抽象
| * @date 2019/10/17 20:30
| * @return
| */
| @SwaggerDisplayEnum
| public interface BaseEnum {
| /**
| * 获取枚举的下标
| *
| * @return
| */
| int getIndex();
|
| /**
| * 获取枚举的备注
| *
| * @return
| */
| String getMark();
| }
|
|