diff --git a/luoo_music/src/main/java/com/luoo/music/dto/response/JournalRespDTO.java b/luoo_music/src/main/java/com/luoo/music/dto/response/JournalRespDTO.java index 7a37da0..bc50964 100644 --- a/luoo_music/src/main/java/com/luoo/music/dto/response/JournalRespDTO.java +++ b/luoo_music/src/main/java/com/luoo/music/dto/response/JournalRespDTO.java @@ -41,4 +41,7 @@ public class JournalRespDTO implements Serializable { @ApiModelProperty(value = "期刊总评论数int") private int totalCommentReplyInt; + + @ApiModelProperty(value = "用户收藏数") + private int userCollectCount; } diff --git a/luoo_music/src/main/java/com/luoo/music/pojo/Journal.java b/luoo_music/src/main/java/com/luoo/music/pojo/Journal.java index 891d007..e882967 100644 --- a/luoo_music/src/main/java/com/luoo/music/pojo/Journal.java +++ b/luoo_music/src/main/java/com/luoo/music/pojo/Journal.java @@ -100,4 +100,8 @@ public class Journal implements Serializable{ * 中文tag 名 */ private String nameChTags; + /** + * 用户收藏数 + */ + private int userCollectCount; }