package com.radiola.domain.model

/** Одна точка на графике популярности. */
data class StatPoint(
    /** Метка времени в epoch-миллисекундах. */
    val date: Long,
    val value: Int
)

/** Проигрывания на конкретной станции. */
data class StationPlays(
    val stationId: Int,
    val name: String,
    val plays: Int
)

/** Полная статистика трека (детальная карточка). */
data class TrackStats(
    val trackId: String,
    val artist: String,
    val song: String,
    val album: String?,
    val coverUrl: String?,
    val genre: String?,
    val styles: List<String>,
    val label: String?,
    val year: Int?,
    val releaseDate: String?,
    val firstSeen: String?,
    val totalPlays: Int,
    val totalLikes: Int,
    val isLiked: Boolean,
    val currentRank: Int?,
    val peakRank: Int?,
    val stations: List<StationPlays>,
    val playsTimeline: List<StatPoint>,
    val likesTimeline: List<StatPoint>
)
