2 changed files with 47 additions and 4 deletions
@ -0,0 +1,42 @@ |
|||||
|
package com.epmet.constant; |
||||
|
|
||||
|
/** |
||||
|
* @Classname ClientType |
||||
|
* @Description TODO |
||||
|
* @Date 2020/3/17 15:22 |
||||
|
* @Created by yangs |
||||
|
*/ |
||||
|
public enum ClientTypeEnum { |
||||
|
//所属区域: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 |
||||
|
*/ |
||||
|
ClientTypeEnum(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