feat(creator-channel): 홈 커뮤니티 응답 상태를 추가한다

This commit is contained in:
2026-08-10 12:09:58 +09:00
parent af347a71a2
commit d99104d945
4 changed files with 42 additions and 10 deletions

View File

@@ -181,8 +181,12 @@ data class CreatorChannelCommunityPostResponse(
val price: Int,
val dateUtc: String,
val existOrdered: Boolean,
@JsonProperty("isCommentAvailable")
val isCommentAvailable: Boolean,
val likeCount: Int,
val commentCount: Int,
@JsonProperty("isPinned")
val isPinned: Boolean,
@JsonProperty("isLiked")
val isLiked: Boolean
) {
@@ -199,8 +203,10 @@ data class CreatorChannelCommunityPostResponse(
price = post.price,
dateUtc = post.createdAt.toUtcIso(),
existOrdered = post.existOrdered,
isCommentAvailable = post.isCommentAvailable,
likeCount = post.likeCount,
commentCount = post.commentCount,
isPinned = post.isPinned,
isLiked = post.isLiked
)
}