test #68
|
@ -261,7 +261,6 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
|||
audioContent.id,
|
||||
audioContent.coverImage.prepend("/").prepend(cloudfrontHost),
|
||||
audioContent.title,
|
||||
audioContent.isAdult,
|
||||
member.id,
|
||||
member.profileImage.prepend("/").prepend(cloudfrontHost),
|
||||
member.nickname
|
||||
|
@ -323,7 +322,6 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
|||
audioContent.id,
|
||||
audioContent.coverImage.prepend("/").prepend(cloudfrontHost),
|
||||
audioContent.title,
|
||||
audioContent.isAdult,
|
||||
member.id,
|
||||
member.profileImage.prepend("/").prepend(cloudfrontHost),
|
||||
member.nickname
|
||||
|
@ -425,7 +423,6 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
|||
audioContent.id,
|
||||
audioContent.coverImage.prepend("/").prepend(cloudfrontHost),
|
||||
audioContent.title,
|
||||
audioContent.isAdult,
|
||||
member.id,
|
||||
member.profileImage
|
||||
.prepend("/")
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
package kr.co.vividnext.sodalive.content.main
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty
|
||||
import com.querydsl.core.annotations.QueryProjection
|
||||
|
||||
data class GetAudioContentMainItem @QueryProjection constructor(
|
||||
val contentId: Long,
|
||||
val coverImageUrl: String,
|
||||
val title: String,
|
||||
val isAdult: Boolean,
|
||||
val creatorId: Long,
|
||||
val creatorProfileImageUrl: String,
|
||||
val creatorNickname: String
|
||||
@JsonProperty("contentId") val contentId: Long,
|
||||
@JsonProperty("coverImageUrl") val coverImageUrl: String,
|
||||
@JsonProperty("title") val title: String,
|
||||
@JsonProperty("creatorId") val creatorId: Long,
|
||||
@JsonProperty("creatorProfileImageUrl") val creatorProfileImageUrl: String,
|
||||
@JsonProperty("creatorNickname") val creatorNickname: String
|
||||
)
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
package kr.co.vividnext.sodalive.content.main
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty
|
||||
import kr.co.vividnext.sodalive.content.main.banner.GetAudioContentBannerResponse
|
||||
import kr.co.vividnext.sodalive.content.main.curation.GetAudioContentCurationResponse
|
||||
|
||||
data class GetAudioContentMainResponse(
|
||||
val newContentUploadCreatorList: List<GetNewContentUploadCreator>,
|
||||
val bannerList: List<GetAudioContentBannerResponse>,
|
||||
val orderList: List<GetAudioContentMainItem>,
|
||||
val themeList: List<String>,
|
||||
val newContentList: List<GetAudioContentMainItem>,
|
||||
val curationList: List<GetAudioContentCurationResponse>,
|
||||
val contentRankingSortTypeList: List<String>,
|
||||
val contentRanking: GetAudioContentRanking
|
||||
@JsonProperty("newContentUploadCreatorList") val newContentUploadCreatorList: List<GetNewContentUploadCreator>,
|
||||
@JsonProperty("bannerList") val bannerList: List<GetAudioContentBannerResponse>,
|
||||
@JsonProperty("orderList") val orderList: List<GetAudioContentMainItem>,
|
||||
@JsonProperty("themeList") val themeList: List<String>,
|
||||
@JsonProperty("newContentList") val newContentList: List<GetAudioContentMainItem>,
|
||||
@JsonProperty("curationList") val curationList: List<GetAudioContentCurationResponse>,
|
||||
@JsonProperty("contentRankingSortTypeList") val contentRankingSortTypeList: List<String>,
|
||||
@JsonProperty("contentRanking") val contentRanking: GetAudioContentRanking
|
||||
)
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
package kr.co.vividnext.sodalive.content.main.banner
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty
|
||||
import kr.co.vividnext.sodalive.event.EventItem
|
||||
|
||||
data class GetAudioContentBannerResponse(
|
||||
val type: AudioContentBannerType,
|
||||
val thumbnailImageUrl: String,
|
||||
val eventItem: EventItem?,
|
||||
val creatorId: Long?,
|
||||
val link: String?
|
||||
@JsonProperty("type") val type: AudioContentBannerType,
|
||||
@JsonProperty("thumbnailImageUrl") val thumbnailImageUrl: String,
|
||||
@JsonProperty("eventItem") val eventItem: EventItem?,
|
||||
@JsonProperty("creatorId") val creatorId: Long?,
|
||||
@JsonProperty("link") val link: String?
|
||||
)
|
||||
|
|
|
@ -57,7 +57,6 @@ class AudioContentCurationQueryRepository(private val queryFactory: JPAQueryFact
|
|||
audioContent.id,
|
||||
audioContent.coverImage.prepend("/").prepend(cloudfrontHost),
|
||||
audioContent.title,
|
||||
audioContent.isAdult,
|
||||
member.id,
|
||||
member.profileImage.prepend("/").prepend(cloudfrontHost),
|
||||
member.nickname
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
package kr.co.vividnext.sodalive.content.main.curation
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty
|
||||
import kr.co.vividnext.sodalive.content.main.GetAudioContentMainItem
|
||||
|
||||
data class GetAudioContentCurationResponse(
|
||||
val curationId: Long,
|
||||
val title: String,
|
||||
val description: String,
|
||||
val contents: List<GetAudioContentMainItem>
|
||||
@JsonProperty("curationId") val curationId: Long,
|
||||
@JsonProperty("title") val title: String,
|
||||
@JsonProperty("description") val description: String,
|
||||
@JsonProperty("contents") val contents: List<GetAudioContentMainItem>
|
||||
)
|
||||
|
|
|
@ -187,7 +187,6 @@ class OrderQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : Orde
|
|||
audioContent.id,
|
||||
audioContent.coverImage.prepend("/").prepend(coverImageHost),
|
||||
audioContent.title,
|
||||
audioContent.isAdult,
|
||||
member.id,
|
||||
member.profileImage
|
||||
.prepend("/")
|
||||
|
|
Loading…
Reference in New Issue