parent
1514490842
commit
0afb748eae
@ -1,9 +1,23 @@
|
|||||||
package com.java3y.austin.common.enums;
|
package com.java3y.austin.common.enums;
|
||||||
|
|
||||||
public interface PowerfulEnum {
|
/**
|
||||||
|
* @author kyw7
|
||||||
|
* 枚举接口
|
||||||
|
*/
|
||||||
|
interface PowerfulEnum {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取枚举的code
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
Integer getCode();
|
Integer getCode();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取枚举的描述
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
String getDescription();
|
String getDescription();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue