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