2020-08-19 18:43:06 +00:00
|
|
|
package code.name.monkey.retromusic.db
|
|
|
|
|
|
|
|
import android.os.Parcelable
|
|
|
|
import androidx.room.ColumnInfo
|
|
|
|
import androidx.room.Entity
|
|
|
|
import androidx.room.PrimaryKey
|
|
|
|
import kotlinx.android.parcel.Parcelize
|
|
|
|
|
|
|
|
@Entity
|
|
|
|
@Parcelize
|
|
|
|
class PlaylistEntity(
|
|
|
|
@ColumnInfo(name = "playlist_name")
|
|
|
|
val playlistName: String
|
2020-08-20 06:49:08 +00:00
|
|
|
) : Parcelable {
|
|
|
|
@PrimaryKey(autoGenerate = true)
|
|
|
|
@ColumnInfo(name = "playlist_id")
|
|
|
|
var playListId: Int = 0
|
|
|
|
}
|