|
|
|
@ -52,6 +52,8 @@ public class ArticleRespDTO implements Serializable {
|
|
|
|
|
private Long totalCommentReply;
|
|
|
|
|
@ApiModelProperty(value = "总阅览数,大于99,显示99+")
|
|
|
|
|
private Long vistisNum;
|
|
|
|
|
@ApiModelProperty(value = "歌曲ID")
|
|
|
|
|
private String songId;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static ArticleRespDTO convertPojo(Article article) {
|
|
|
|
@ -75,6 +77,7 @@ public class ArticleRespDTO implements Serializable {
|
|
|
|
|
response.setPubTime(article.getPubTime().format(DateTimeFormatter.ISO_DATE_TIME));
|
|
|
|
|
response.setAllowCommit(article.getAllowCommit());
|
|
|
|
|
response.setAutoPush(article.getAutoPush());
|
|
|
|
|
response.setSongId(article.getSongId());
|
|
|
|
|
|
|
|
|
|
return response;
|
|
|
|
|
}
|
|
|
|
|