Migrate database (1)
This commit is contained in:
13
app/src/main/kotlin/it/vfsfitvnm/vimusic/models/Album.kt
Normal file
13
app/src/main/kotlin/it/vfsfitvnm/vimusic/models/Album.kt
Normal file
@@ -0,0 +1,13 @@
|
||||
package it.vfsfitvnm.vimusic.models
|
||||
|
||||
import androidx.room.Entity
|
||||
import androidx.room.PrimaryKey
|
||||
|
||||
@Entity
|
||||
data class Album(
|
||||
@PrimaryKey val id: String,
|
||||
val title: String,
|
||||
val thumbnailUrl: String?,
|
||||
val year: String?,
|
||||
val authorsText: String?
|
||||
)
|
||||
Reference in New Issue
Block a user