6 changed files with 86 additions and 28 deletions
@ -0,0 +1,17 @@ |
|||
package com.elink.esua.epdc.constant; |
|||
|
|||
/** |
|||
* @author work@yujt.net.cn |
|||
* @date |
|||
*/ |
|||
public class NewsConstant { |
|||
|
|||
/** |
|||
* 平安防范 |
|||
*/ |
|||
public final static String SAFETY_PRECAUTIONS = "safety_precautions"; |
|||
/** |
|||
* 警情通报 |
|||
*/ |
|||
public final static String POLICE_NOTICE = "police_notice"; |
|||
} |
@ -1,21 +0,0 @@ |
|||
package com.elink.esua.epdc.dto.epdc.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author: qushutong |
|||
* @Date: 2019/9/11 17:10 |
|||
* @Description: banner列表 |
|||
*/ |
|||
@Data |
|||
public class EpdcBannerListByCategoryFromDTO extends EpdcBannerListFromDTO implements Serializable { |
|||
private static final long serialVersionUID = -6217459732932501695L; |
|||
|
|||
/** |
|||
* 新闻类别编码 |
|||
*/ |
|||
private List<String> categoryCodeList; |
|||
} |
@ -0,0 +1,39 @@ |
|||
package com.elink.esua.epdc.enums; |
|||
|
|||
import com.elink.esua.epdc.commons.tools.constant.NumConstant; |
|||
|
|||
/** |
|||
* 拥有独立功能的新闻类别编码 |
|||
* |
|||
* @author work@yujt.net.cn |
|||
* @date 2020/5/21 15:22 |
|||
*/ |
|||
|
|||
public enum BannerPositionEnum { |
|||
|
|||
HOME_PAGE_HEAD(NumConstant.ZERO_STR, "首页顶部"), |
|||
|
|||
HOME_PAGE_MIDDLE(NumConstant.ONE_STR, "首页中间"), |
|||
|
|||
SAFETY(NumConstant.TWO_STR, "平安榆山"); |
|||
|
|||
|
|||
private String value; |
|||
|
|||
private String name; |
|||
|
|||
|
|||
BannerPositionEnum(String value, String name) { |
|||
this.value = value; |
|||
this.name = name; |
|||
} |
|||
|
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public String getValue() { |
|||
return value; |
|||
} |
|||
} |
Loading…
Reference in new issue