forked from rongchao/epmet-cloud-rizhao
11 changed files with 71 additions and 117 deletions
@ -1,34 +0,0 @@ |
|||||
package com.epmet.dto.form; |
|
||||
|
|
||||
import lombok.Data; |
|
||||
|
|
||||
import javax.validation.constraints.NotBlank; |
|
||||
import java.io.Serializable; |
|
||||
|
|
||||
/** |
|
||||
* @Description 居民端首页轮播查询接口DTO |
|
||||
* @ClassName ArticleBannerFormDTO |
|
||||
* @Auth wangc |
|
||||
* @Date 2020-06-02 11:20 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class CommonArticleListFormDTO implements Serializable { |
|
||||
private static final long serialVersionUID = 5996259506950697451L; |
|
||||
|
|
||||
/** |
|
||||
* 内部错误分组 |
|
||||
* */ |
|
||||
public interface ArticleBannerInternalGroup{} |
|
||||
|
|
||||
/** |
|
||||
* 网格Id |
|
||||
* */ |
|
||||
@NotBlank(message = "网格Id不能为空" , groups = {ArticleBannerInternalGroup.class}) |
|
||||
private String gridId; |
|
||||
|
|
||||
/** |
|
||||
* 客户定制化条数(高级配置里的参数) |
|
||||
* */ |
|
||||
private Integer num; |
|
||||
|
|
||||
} |
|
||||
@ -1,31 +0,0 @@ |
|||||
package com.epmet.dto.result; |
|
||||
|
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.io.Serializable; |
|
||||
|
|
||||
/** |
|
||||
* @Description |
|
||||
* @ClassName ArticleBannerResultDTO |
|
||||
* @Auth wangc |
|
||||
* @Date 2020-06-02 13:55 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class ArticleBannerResultDTO implements Serializable { |
|
||||
private static final long serialVersionUID = 7764443348626371305L; |
|
||||
|
|
||||
/** |
|
||||
* 文章Id |
|
||||
* */ |
|
||||
private String articleId; |
|
||||
|
|
||||
/** |
|
||||
* 封面图url |
|
||||
* */ |
|
||||
private String coverImg; |
|
||||
|
|
||||
/** |
|
||||
* 标题 |
|
||||
* */ |
|
||||
private String title; |
|
||||
} |
|
||||
@ -1,41 +0,0 @@ |
|||||
package com.epmet.dto.result; |
|
||||
|
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.io.Serializable; |
|
||||
|
|
||||
/** |
|
||||
* @Description |
|
||||
* @ClassName ArticleLatestResultDTO |
|
||||
* @Auth wangc |
|
||||
* @Date 2020-06-02 17:11 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class ArticleLatestResultDTO implements Serializable { |
|
||||
private static final long serialVersionUID = 6953266228209247094L; |
|
||||
|
|
||||
/** |
|
||||
* 文章Id |
|
||||
* */ |
|
||||
private String articleId; |
|
||||
|
|
||||
/** |
|
||||
* 文章封面图片url |
|
||||
* */ |
|
||||
private String articleCoverImg; |
|
||||
|
|
||||
/** |
|
||||
* 文章标题 |
|
||||
* */ |
|
||||
private String articleTitle; |
|
||||
|
|
||||
/** |
|
||||
* 发布单位名称 |
|
||||
* */ |
|
||||
private String publishName; |
|
||||
|
|
||||
/** |
|
||||
* 发布时间(天级别) 时间戳 |
|
||||
* */ |
|
||||
private String publishDate; |
|
||||
} |
|
||||
@ -0,0 +1,12 @@ |
|||||
|
package com.epmet.utils; |
||||
|
|
||||
|
/** |
||||
|
* 常量类 |
||||
|
* */ |
||||
|
public interface ModuleConstant { |
||||
|
|
||||
|
/** |
||||
|
* 竖线的转义字符表示 |
||||
|
* */ |
||||
|
String VERTICAL_BAR_WITH_ESCAPE_CHARACTER = "\\|"; |
||||
|
} |
||||
Loading…
Reference in new issue