|
@ -3,7 +3,7 @@ package com.elink.esua.epdc.enums; |
|
|
import com.elink.esua.epdc.commons.tools.constant.NumConstant; |
|
|
import com.elink.esua.epdc.commons.tools.constant.NumConstant; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 拥有独立功能的新闻类别编码 |
|
|
* 新闻位置 |
|
|
* |
|
|
* |
|
|
* @author work@yujt.net.cn |
|
|
* @author work@yujt.net.cn |
|
|
* @date 2020/5/21 15:22 |
|
|
* @date 2020/5/21 15:22 |
|
@ -11,28 +11,25 @@ import com.elink.esua.epdc.commons.tools.constant.NumConstant; |
|
|
|
|
|
|
|
|
public enum BannerPositionEnum { |
|
|
public enum BannerPositionEnum { |
|
|
|
|
|
|
|
|
HOME_PAGE_HEAD(NumConstant.ZERO_STR, "首页顶部"), |
|
|
/** |
|
|
|
|
|
* 中间 |
|
|
|
|
|
*/ |
|
|
|
|
|
MIDDLE(NumConstant.ONE_STR), |
|
|
|
|
|
|
|
|
HOME_PAGE_MIDDLE(NumConstant.ONE_STR, "首页中间"), |
|
|
/** |
|
|
|
|
|
* 顶部 |
|
|
SAFETY(NumConstant.TWO_STR, "平安榆山"); |
|
|
*/ |
|
|
|
|
|
HEAD(NumConstant.ZERO_STR); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private String value; |
|
|
private String value; |
|
|
|
|
|
|
|
|
private String name; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BannerPositionEnum(String value, String name) { |
|
|
BannerPositionEnum(String value) { |
|
|
this.value = value; |
|
|
this.value = value; |
|
|
this.name = name; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getName() { |
|
|
|
|
|
return name; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String getValue() { |
|
|
public String getValue() { |
|
|
return value; |
|
|
return value; |
|
|
} |
|
|
} |
|
|