From 811810cd3662000b33af44e8825ac169c28ed2ea Mon Sep 17 00:00:00 2001 From: Klaus Date: Mon, 21 Jul 2025 16:45:58 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20GetCommunityPostListResponse=20-=20json?= =?UTF-8?q?=20property=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GetCommunityPostListResponse.kt | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/GetCommunityPostListResponse.kt b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/GetCommunityPostListResponse.kt index 0b09c42..81a5f22 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/GetCommunityPostListResponse.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/profile/creatorCommunity/GetCommunityPostListResponse.kt @@ -1,24 +1,23 @@ package kr.co.vividnext.sodalive.explorer.profile.creatorCommunity -import com.fasterxml.jackson.annotation.JsonProperty import com.querydsl.core.annotations.QueryProjection import kr.co.vividnext.sodalive.explorer.profile.creatorCommunity.comment.GetCommunityPostCommentListItem data class GetCommunityPostListResponse @QueryProjection constructor( - @JsonProperty("postId") val postId: Long, - @JsonProperty("creatorId") val creatorId: Long, - @JsonProperty("creatorNickname") val creatorNickname: String, - @JsonProperty("creatorProfileUrl") val creatorProfileUrl: String, - @JsonProperty("imageUrl") val imageUrl: String?, - @JsonProperty("audioUrl") val audioUrl: String?, - @JsonProperty("content") val content: String, - @JsonProperty("price") val price: Int, - @JsonProperty("date") val date: String, - @JsonProperty("isCommentAvailable") val isCommentAvailable: Boolean, - @JsonProperty("isAdult") val isAdult: Boolean, - @JsonProperty("isLike") val isLike: Boolean, - @JsonProperty("existOrdered") val existOrdered: Boolean, - @JsonProperty("likeCount") val likeCount: Int, - @JsonProperty("commentCount") val commentCount: Int, - @JsonProperty("firstComment") val firstComment: GetCommunityPostCommentListItem? + val postId: Long, + val creatorId: Long, + val creatorNickname: String, + val creatorProfileUrl: String, + val imageUrl: String?, + val audioUrl: String?, + val content: String, + val price: Int, + val date: String, + val isCommentAvailable: Boolean, + val isAdult: Boolean, + val isLike: Boolean, + val existOrdered: Boolean, + val likeCount: Int, + val commentCount: Int, + val firstComment: GetCommunityPostCommentListItem? )