feat(creator-channel): 홈 커뮤니티 응답 상태를 추가한다
This commit is contained in:
@@ -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
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user