fix: 라이브 메인 API

- @JsonProperty 애노테이션 추가
This commit is contained in:
Klaus 2025-07-21 16:18:33 +09:00
parent ab877beae1
commit 800b8d3216
3 changed files with 5 additions and 5 deletions

View File

@ -9,5 +9,5 @@ data class AudioContentMainItem @QueryProjection constructor(
@JsonProperty("title") val title: String,
@JsonProperty("coverImageUrl") val coverImageUrl: String,
@JsonProperty("creatorNickname") val creatorNickname: String,
@get:JsonProperty("isPointAvailable") val isPointAvailable: Boolean
@JsonProperty("isPointAvailable") val isPointAvailable: Boolean
)

View File

@ -14,9 +14,9 @@ data class GetCommunityPostListResponse @QueryProjection constructor(
@JsonProperty("content") val content: String,
@JsonProperty("price") val price: Int,
@JsonProperty("date") val date: String,
@get:JsonProperty("isCommentAvailable") val isCommentAvailable: Boolean,
@get:JsonProperty("isAdult") val isAdult: Boolean,
@get:JsonProperty("isLike") val isLike: Boolean,
@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,

View File

@ -17,7 +17,7 @@ data class GetLatestFinishedLiveResponse(
@JsonProperty("nickname") val nickname: String,
@JsonProperty("profileImageUrl") val profileImageUrl: String,
@JsonProperty("timeAgo") val timeAgo: String,
@get:JsonProperty("following") var following: Boolean = false
@JsonProperty("following") var following: Boolean = false
) {
constructor(response: GetLatestFinishedLiveQueryResponse) : this(
response.memberId,