package com.offline.music.task.player.db.bean

import androidx.annotation.Keep
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import java.io.Serializable

@Keep
@Entity
data class LocalAudio(
    @ColumnInfo(name = "name") var name: String,
    @ColumnInfo(name = "file") var file: String,
    @ColumnInfo(name = "image") var image: String,
    @ColumnInfo(name = "duration") var duration: Long,
    @ColumnInfo(name = "selected") var selected: Boolean,
    @ColumnInfo(name = "collect") var collect: Boolean = false
) : Serializable {
    @PrimaryKey(autoGenerate = true)
    var id: Long = 0
}