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? )