From aea4918a18ea62d74808bddea685ef8f14a8afe3 Mon Sep 17 00:00:00 2001 From: Gary Date: Mon, 8 Apr 2024 13:50:29 +0800 Subject: [PATCH] 1.add userCollectCount in both dto and po --- .../main/java/com/luoo/music/dto/response/JournalRespDTO.java | 3 +++ luoo_music/src/main/java/com/luoo/music/pojo/Journal.java | 4 ++++ 2 files changed, 7 insertions(+) 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; }