18 lines
433 B
Kotlin
18 lines
433 B
Kotlin
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
|
|
) : Parcelable {
|
|
@PrimaryKey(autoGenerate = true)
|
|
@ColumnInfo(name = "playlist_id")
|
|
var playListId: Int = 0
|
|
} |