forked from luyan/epmet-cloud-lingshan
3 changed files with 24 additions and 47 deletions
@ -0,0 +1,19 @@ |
|||
package com.epmet.constant; |
|||
|
|||
/** |
|||
* @Classname ReginEnum |
|||
* @Description 所属区域:0.标题区、1.置顶区、2.功能区、3.悬浮区 |
|||
* @Date 2020/3/17 15:22 |
|||
* @Created by yangs |
|||
*/ |
|||
public interface ReginConstant { |
|||
//所属区域:0.标题区、1.置顶区、2.功能区、3.悬浮区
|
|||
//0.标题区
|
|||
String titleList="titleList"; |
|||
//1.置顶区
|
|||
String topList="topList"; |
|||
//2.功能区
|
|||
String functionList="functionList"; |
|||
//3.悬浮区
|
|||
String floatingList="floatingList"; |
|||
} |
@ -1,42 +0,0 @@ |
|||
package com.epmet.constant; |
|||
|
|||
/** |
|||
* @Classname ReginEnum |
|||
* @Description 所属区域:0.标题区、1.置顶区、2.功能区、3.悬浮区 |
|||
* @Date 2020/3/17 15:22 |
|||
* @Created by yangs |
|||
*/ |
|||
public enum ReginEnum { |
|||
//所属区域:0.标题区、1.置顶区、2.功能区、3.悬浮区
|
|||
title("0", "title"), |
|||
top("1","top"), |
|||
function("2", "function"), |
|||
floating("3", "floating"); |
|||
private String key; |
|||
|
|||
private String name; |
|||
|
|||
/** |
|||
* @param key |
|||
* @param name |
|||
*/ |
|||
ReginEnum(String key, String name) { |
|||
this.key = key; |
|||
this.name = name; |
|||
} |
|||
|
|||
/** |
|||
* @return Returns the key. |
|||
*/ |
|||
public String getKey() { |
|||
return key; |
|||
} |
|||
|
|||
/** |
|||
* @return Returns the name. |
|||
*/ |
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
} |
Loading…
Reference in new issue