parent
c90df4b02b
commit
811810cd36
|
@ -1,24 +1,23 @@
|
||||||
package kr.co.vividnext.sodalive.explorer.profile.creatorCommunity
|
package kr.co.vividnext.sodalive.explorer.profile.creatorCommunity
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty
|
|
||||||
import com.querydsl.core.annotations.QueryProjection
|
import com.querydsl.core.annotations.QueryProjection
|
||||||
import kr.co.vividnext.sodalive.explorer.profile.creatorCommunity.comment.GetCommunityPostCommentListItem
|
import kr.co.vividnext.sodalive.explorer.profile.creatorCommunity.comment.GetCommunityPostCommentListItem
|
||||||
|
|
||||||
data class GetCommunityPostListResponse @QueryProjection constructor(
|
data class GetCommunityPostListResponse @QueryProjection constructor(
|
||||||
@JsonProperty("postId") val postId: Long,
|
val postId: Long,
|
||||||
@JsonProperty("creatorId") val creatorId: Long,
|
val creatorId: Long,
|
||||||
@JsonProperty("creatorNickname") val creatorNickname: String,
|
val creatorNickname: String,
|
||||||
@JsonProperty("creatorProfileUrl") val creatorProfileUrl: String,
|
val creatorProfileUrl: String,
|
||||||
@JsonProperty("imageUrl") val imageUrl: String?,
|
val imageUrl: String?,
|
||||||
@JsonProperty("audioUrl") val audioUrl: String?,
|
val audioUrl: String?,
|
||||||
@JsonProperty("content") val content: String,
|
val content: String,
|
||||||
@JsonProperty("price") val price: Int,
|
val price: Int,
|
||||||
@JsonProperty("date") val date: String,
|
val date: String,
|
||||||
@JsonProperty("isCommentAvailable") val isCommentAvailable: Boolean,
|
val isCommentAvailable: Boolean,
|
||||||
@JsonProperty("isAdult") val isAdult: Boolean,
|
val isAdult: Boolean,
|
||||||
@JsonProperty("isLike") val isLike: Boolean,
|
val isLike: Boolean,
|
||||||
@JsonProperty("existOrdered") val existOrdered: Boolean,
|
val existOrdered: Boolean,
|
||||||
@JsonProperty("likeCount") val likeCount: Int,
|
val likeCount: Int,
|
||||||
@JsonProperty("commentCount") val commentCount: Int,
|
val commentCount: Int,
|
||||||
@JsonProperty("firstComment") val firstComment: GetCommunityPostCommentListItem?
|
val firstComment: GetCommunityPostCommentListItem?
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue