From f593fd56242e62a3ab9856463ba3f3cc8e492d38 Mon Sep 17 00:00:00 2001 From: wanggeng888 <450292408@qq.com> Date: Tue, 5 Jan 2021 15:31:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BA=8F=E5=88=97=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/cm/news/pojo/dtos/newsantistop/NewsAntistopDTO.java | 5 ++++- .../cm/news/pojo/dtos/newscomment/NewsCommentCountDTO.java | 1 + .../news/pojo/dtos/newscommentlike/NewsCommentLikeDTO.java | 5 ++++- .../com/cm/news/pojo/dtos/newscontent/NewsContentDTO.java | 4 +++- .../dtos/newscontentcollect/NewsContentCollectCountDTO.java | 5 ++++- .../pojo/dtos/newscontentcollect/NewsContentCollectDTO.java | 5 ++++- .../pojo/dtos/newscontentconfig/NewsContentConfigDTO.java | 5 ++++- 7 files changed, 24 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/cm/news/pojo/dtos/newsantistop/NewsAntistopDTO.java b/src/main/java/com/cm/news/pojo/dtos/newsantistop/NewsAntistopDTO.java index 61659e9..8464263 100644 --- a/src/main/java/com/cm/news/pojo/dtos/newsantistop/NewsAntistopDTO.java +++ b/src/main/java/com/cm/news/pojo/dtos/newsantistop/NewsAntistopDTO.java @@ -3,6 +3,8 @@ package com.cm.news.pojo.dtos.newsantistop; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.io.Serializable; + /** * * @ClassName: NewsAntistopDTO @@ -12,8 +14,9 @@ import io.swagger.annotations.ApiModelProperty; * @Version: 1.0 **/ @ApiModel -public class NewsAntistopDTO { +public class NewsAntistopDTO implements Serializable { + private static final long serialVersionUID = -625125395265208906L; @ApiModelProperty(name = "newsAntistopId", value = "主键") private String newsAntistopId; @ApiModelProperty(name = "antistopName", value = "敏感词") diff --git a/src/main/java/com/cm/news/pojo/dtos/newscomment/NewsCommentCountDTO.java b/src/main/java/com/cm/news/pojo/dtos/newscomment/NewsCommentCountDTO.java index 463dfd7..4586f2c 100644 --- a/src/main/java/com/cm/news/pojo/dtos/newscomment/NewsCommentCountDTO.java +++ b/src/main/java/com/cm/news/pojo/dtos/newscomment/NewsCommentCountDTO.java @@ -16,6 +16,7 @@ import java.io.Serializable; @ApiModel public class NewsCommentCountDTO implements Serializable { + private static final long serialVersionUID = -4018217677091807455L; @ApiModelProperty(name = "newsContentId", value = "新闻内容ID") private String newsContentId; @ApiModelProperty(name = "count", value = "评论数量") diff --git a/src/main/java/com/cm/news/pojo/dtos/newscommentlike/NewsCommentLikeDTO.java b/src/main/java/com/cm/news/pojo/dtos/newscommentlike/NewsCommentLikeDTO.java index c6d56bf..377af87 100644 --- a/src/main/java/com/cm/news/pojo/dtos/newscommentlike/NewsCommentLikeDTO.java +++ b/src/main/java/com/cm/news/pojo/dtos/newscommentlike/NewsCommentLikeDTO.java @@ -3,6 +3,8 @@ package com.cm.news.pojo.dtos.newscommentlike; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.io.Serializable; + /** * * @ClassName: NewsCommentLikeDTO @@ -12,8 +14,9 @@ import io.swagger.annotations.ApiModelProperty; * @Version: 1.0 **/ @ApiModel -public class NewsCommentLikeDTO { +public class NewsCommentLikeDTO implements Serializable { + private static final long serialVersionUID = 1566540002846119863L; @ApiModelProperty(name = "newsCommentLikeId", value = "主键") private String newsCommentLikeId; @ApiModelProperty(name = "newsCommentId", value = "评论") diff --git a/src/main/java/com/cm/news/pojo/dtos/newscontent/NewsContentDTO.java b/src/main/java/com/cm/news/pojo/dtos/newscontent/NewsContentDTO.java index e943872..feda61f 100644 --- a/src/main/java/com/cm/news/pojo/dtos/newscontent/NewsContentDTO.java +++ b/src/main/java/com/cm/news/pojo/dtos/newscontent/NewsContentDTO.java @@ -11,6 +11,7 @@ import com.cm.news.pojo.vos.newslabel.NewsLabelVO; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.io.Serializable; import java.util.List; /** @@ -22,8 +23,9 @@ import java.util.List; * @Version: 1.0 **/ @ApiModel -public class NewsContentDTO { +public class NewsContentDTO implements Serializable { + private static final long serialVersionUID = -9025688481165296409L; @ApiModelProperty(name = "newsContentId", value = "主键") private String newsContentId; @ApiModelProperty(name = "newsDirectoriesId", value = "新闻版块") diff --git a/src/main/java/com/cm/news/pojo/dtos/newscontentcollect/NewsContentCollectCountDTO.java b/src/main/java/com/cm/news/pojo/dtos/newscontentcollect/NewsContentCollectCountDTO.java index 8a937ef..ef79949 100644 --- a/src/main/java/com/cm/news/pojo/dtos/newscontentcollect/NewsContentCollectCountDTO.java +++ b/src/main/java/com/cm/news/pojo/dtos/newscontentcollect/NewsContentCollectCountDTO.java @@ -3,6 +3,8 @@ package com.cm.news.pojo.dtos.newscontentcollect; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.io.Serializable; + /** * * @ClassName: NewsContentCollectDTO @@ -12,8 +14,9 @@ import io.swagger.annotations.ApiModelProperty; * @Version: 1.0 **/ @ApiModel -public class NewsContentCollectCountDTO { +public class NewsContentCollectCountDTO implements Serializable { + private static final long serialVersionUID = 3684532278349299854L; @ApiModelProperty(name = "newsContentId", value = "新闻ID") private String newsContentId; @ApiModelProperty(name = "collectCount", value = "收藏数") diff --git a/src/main/java/com/cm/news/pojo/dtos/newscontentcollect/NewsContentCollectDTO.java b/src/main/java/com/cm/news/pojo/dtos/newscontentcollect/NewsContentCollectDTO.java index 50bf4fd..653dd83 100644 --- a/src/main/java/com/cm/news/pojo/dtos/newscontentcollect/NewsContentCollectDTO.java +++ b/src/main/java/com/cm/news/pojo/dtos/newscontentcollect/NewsContentCollectDTO.java @@ -3,6 +3,8 @@ package com.cm.news.pojo.dtos.newscontentcollect; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.io.Serializable; + /** * * @ClassName: NewsContentCollectDTO @@ -12,8 +14,9 @@ import io.swagger.annotations.ApiModelProperty; * @Version: 1.0 **/ @ApiModel -public class NewsContentCollectDTO { +public class NewsContentCollectDTO implements Serializable { + private static final long serialVersionUID = 3774070218632818773L; @ApiModelProperty(name = "newsContentCollectId", value = "主键") private String newsContentCollectId; @ApiModelProperty(name = "newsContentId", value = "新闻") diff --git a/src/main/java/com/cm/news/pojo/dtos/newscontentconfig/NewsContentConfigDTO.java b/src/main/java/com/cm/news/pojo/dtos/newscontentconfig/NewsContentConfigDTO.java index c457a57..964080e 100644 --- a/src/main/java/com/cm/news/pojo/dtos/newscontentconfig/NewsContentConfigDTO.java +++ b/src/main/java/com/cm/news/pojo/dtos/newscontentconfig/NewsContentConfigDTO.java @@ -3,6 +3,8 @@ package com.cm.news.pojo.dtos.newscontentconfig; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.io.Serializable; + /** * * @ClassName: NewsContentConfigDTO @@ -12,8 +14,9 @@ import io.swagger.annotations.ApiModelProperty; * @Version: 1.0 **/ @ApiModel -public class NewsContentConfigDTO { +public class NewsContentConfigDTO implements Serializable { + private static final long serialVersionUID = -2964079125008431435L; @ApiModelProperty(name = "newsContentConfigId", value = "主键") private String newsContentConfigId; @ApiModelProperty(name = "newsConfigTop", value = "置顶1:置顶,0:普通")