2 changed files with 97 additions and 56 deletions
@ -0,0 +1,34 @@ |
|||
package com.elink.esua.epdc.enums; |
|||
|
|||
/** |
|||
* 拥有独立功能的新闻类别编码 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2020/5/21 15:22 |
|||
*/ |
|||
|
|||
public enum IndependentFunctionCodeEnum { |
|||
|
|||
SAFETY_PRECAUTIONS("safety_precautions", "平安防范"), |
|||
|
|||
POLICE_NOTICE("police_notice", "警情通报"); |
|||
|
|||
|
|||
private String code; |
|||
|
|||
private String name; |
|||
|
|||
|
|||
IndependentFunctionCodeEnum(String code, String name) { |
|||
this.code = code; |
|||
this.name = name; |
|||
} |
|||
|
|||
public String getCode() { |
|||
return code; |
|||
} |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
} |
|||
Loading…
Reference in new issue