package kr.co.vividnext.sodalive.audio_content.main

import com.google.gson.annotations.SerializedName
import kr.co.vividnext.sodalive.settings.event.EventItem

data class GetNewContentUploadCreator(
    @SerializedName("creatorId") val creatorId: Long,
    @SerializedName("creatorNickname") val creatorNickname: String,
    @SerializedName("creatorProfileImageUrl") val creatorProfileImageUrl: String
)

data class GetAudioContentMainItem(
    @SerializedName("contentId") val contentId: Long,
    @SerializedName("coverImageUrl") val coverImageUrl: String,
    @SerializedName("title") val title: String,
    @SerializedName("creatorId") val creatorId: Long,
    @SerializedName("creatorProfileImageUrl") val creatorProfileImageUrl: String,
    @SerializedName("creatorNickname") val creatorNickname: String
)

data class GetAudioContentRanking(
    @SerializedName("startDate") val startDate: String,
    @SerializedName("endDate") val endDate: String,
    @SerializedName("items") val items: List<GetAudioContentRankingItem>
)

data class GetAudioContentRankingItem(
    @SerializedName("contentId") val contentId: Long,
    @SerializedName("title") val title: String,
    @SerializedName("coverImageUrl") val coverImageUrl: String,
    @SerializedName("themeStr") val themeStr: String,
    @SerializedName("price") val price: Int,
    @SerializedName("duration") val duration: String,
    @SerializedName("creatorId") val creatorId: Long,
    @SerializedName("creatorNickname") val creatorNickname: String
)

data class GetAudioContentCurationResponse(
    @SerializedName("curationId") val curationId: Long,
    @SerializedName("title") val title: String,
    @SerializedName("description") val description: String,
    @SerializedName("contents") val audioContents: List<GetAudioContentMainItem>
)

data class GetAudioContentBannerResponse(
    @SerializedName("type") val type: AudioContentBannerType,
    @SerializedName("thumbnailImageUrl") val thumbnailImageUrl: String,
    @SerializedName("eventItem") val eventItem: EventItem?,
    @SerializedName("creatorId") val creatorId: Long?,
    @SerializedName("link") val link: String?
)

enum class AudioContentBannerType {
    @SerializedName("EVENT")
    EVENT,

    @SerializedName("CREATOR")
    CREATOR,

    @SerializedName("LINK")
    LINK
}
