package melody.offline.music.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 FavoriteBean(
    @ColumnInfo(name = "videoId") var videoId: String,
    @ColumnInfo(name = "title") var title: String,
    @ColumnInfo(name = "name") var name: String,
    @ColumnInfo(name = "thumbnail") var thumbnail: String? = null,
    @ColumnInfo(name = "isFavorite") var isFavorite: Boolean
) : Serializable {
    @PrimaryKey(autoGenerate = true)
    var id: Long = 0
}