package com.radiola.data.local.entity

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "stations")
data class StationEntity(
    @PrimaryKey val id: Int,
    val name: String,
    val prefix: String,
    val streamUrl: String,
    val coverUrl: String,
    val genre: String,
    val tags: String,
    val sortOrder: Int,
    val source: String = "record",
    val isFavorite: Boolean = false,
    // Качества потока, закодированы строкой: строки "bitrate\ttype\turl", разделённые \n.
    val qualities: String = ""
)
