forked from rongchao/epmet-cloud-rizhao
14 changed files with 114 additions and 273 deletions
@ -1,43 +0,0 @@ |
|||||
package com.epmet.dto.form; |
|
||||
|
|
||||
import lombok.Data; |
|
||||
|
|
||||
import javax.validation.constraints.NotBlank; |
|
||||
import java.io.Serializable; |
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* @Description 居民端查看文章列表参数DTO |
|
||||
* @ClassName ArticlePageFormDTO |
|
||||
* @Auth wangc |
|
||||
* @Date 2020-06-03 14:21 |
|
||||
*/ |
|
||||
|
|
||||
@Data |
|
||||
public class ArticlePageFormDTO implements Serializable { |
|
||||
private static final long serialVersionUID = -6201259689082896334L; |
|
||||
|
|
||||
public interface ArticlePageInternalGroup{} |
|
||||
|
|
||||
/** |
|
||||
* 网格Id |
|
||||
* */ |
|
||||
@NotBlank(message = "网格Id不能为空" , groups = {ArticlePageInternalGroup.class}) |
|
||||
private String gridId; |
|
||||
|
|
||||
/** |
|
||||
* 标签Id集合 |
|
||||
* */ |
|
||||
private List<String> tagIdList; |
|
||||
|
|
||||
/** |
|
||||
* 页码 |
|
||||
* */ |
|
||||
private Integer pageNo = 1; |
|
||||
|
|
||||
/** |
|
||||
* 每页显示量 |
|
||||
* */ |
|
||||
private Integer pageSize = 10; |
|
||||
|
|
||||
} |
|
@ -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,37 +0,0 @@ |
|||||
package com.epmet.dto.form; |
|
||||
|
|
||||
import lombok.Data; |
|
||||
|
|
||||
import javax.validation.constraints.NotBlank; |
|
||||
import java.io.Serializable; |
|
||||
|
|
||||
/** |
|
||||
* @Description 居民端查看文章详情传参DTO |
|
||||
* @ClassName ResiArticleDetailFormDTO |
|
||||
* @Auth wangc |
|
||||
* @Date 2020-06-04 09:20 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class ResiArticleDetailFormDTO implements Serializable { |
|
||||
private static final long serialVersionUID = -7197489284630455909L; |
|
||||
|
|
||||
public interface ResiArticleDetailInternalGroup{} |
|
||||
|
|
||||
/** |
|
||||
* 网格Id |
|
||||
* */ |
|
||||
@NotBlank(message = "网格Id不能为空",groups = ResiArticleDetailInternalGroup.class) |
|
||||
private String gridId; |
|
||||
|
|
||||
/** |
|
||||
* 文章Id |
|
||||
* */ |
|
||||
@NotBlank(message = "文章Id不能为空",groups = ResiArticleDetailInternalGroup.class) |
|
||||
private String articleId; |
|
||||
|
|
||||
/** |
|
||||
* 用户Id |
|
||||
* */ |
|
||||
@NotBlank(message = "用户Id不能为空",groups = ResiArticleDetailInternalGroup.class) |
|
||||
private String userId; |
|
||||
} |
|
@ -1,26 +0,0 @@ |
|||||
package com.epmet.dto.result; |
|
||||
|
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.io.Serializable; |
|
||||
|
|
||||
/** |
|
||||
* @Description |
|
||||
* @ClassName ArticleContentResultDTO |
|
||||
* @Auth wangc |
|
||||
* @Date 2020-06-03 16:41 |
|
||||
*/ |
|
||||
@Data |
|
||||
public class ArticleContentResultDTO implements Serializable { |
|
||||
private static final long serialVersionUID = 2853197212163051558L; |
|
||||
|
|
||||
/** |
|
||||
* 内容类型(图片:img;文字:text) |
|
||||
* */ |
|
||||
private String contentType; |
|
||||
|
|
||||
/** |
|
||||
* 内容 |
|
||||
* */ |
|
||||
private String content; |
|
||||
} |
|
@ -1,55 +0,0 @@ |
|||||
package com.epmet.dto.result; |
|
||||
|
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
|
||||
import lombok.Data; |
|
||||
|
|
||||
import java.io.Serializable; |
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* @Description |
|
||||
* @ClassName ArticleDetailResultDTO |
|
||||
* @Auth wangc |
|
||||
* @Date 2020-06-03 16:36 |
|
||||
*/ |
|
||||
@JsonIgnoreProperties(ignoreUnknown = true) |
|
||||
@Data |
|
||||
public class ArticleDetailResultDTO implements Serializable { |
|
||||
private static final long serialVersionUID = 4659147595194692686L; |
|
||||
|
|
||||
/** |
|
||||
* 文章Id |
|
||||
* */ |
|
||||
private String articleId; |
|
||||
|
|
||||
/** |
|
||||
* 文章标题 |
|
||||
* */ |
|
||||
private String articleTitle; |
|
||||
|
|
||||
/** |
|
||||
* 文章发布单位名称 |
|
||||
* */ |
|
||||
private String publishUnitDesc; |
|
||||
|
|
||||
/** |
|
||||
* 发布时间 |
|
||||
* */ |
|
||||
private String publishDate; |
|
||||
|
|
||||
/** |
|
||||
* 文章当前网格阅读量(article_visit_record统计数) |
|
||||
* */ |
|
||||
private Integer visitRecordCount; |
|
||||
|
|
||||
/** |
|
||||
* 标签名称集合(竖线分隔) |
|
||||
* */ |
|
||||
private String tags; |
|
||||
|
|
||||
/** |
|
||||
* 文章内容 |
|
||||
* */ |
|
||||
private List<ArticleContentResultDTO> articleContentList; |
|
||||
|
|
||||
} |
|
Loading…
Reference in new issue