package com.radiola.data.remote.dto

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class TrackDto(
    @SerialName("id") val id: Int,
    @SerialName("artist") val artist: String,
    @SerialName("song") val song: String,
    @SerialName("image600") val image600: String? = null,
    @SerialName("image100") val image100: String? = null
)

@Serializable
data class NowPlayingItemDto(
    @SerialName("id") val id: Int,
    @SerialName("track") val track: TrackDto
)

@Serializable
data class NowPlayingResponse(
    @SerialName("result") val result: List<NowPlayingItemDto>
)
