|
@@ -1,8 +1,10 @@
|
|
package it.vfsfitvnm.vimusic.models
|
|
package it.vfsfitvnm.vimusic.models
|
|
|
|
|
|
|
|
+import androidx.compose.runtime.Immutable
|
|
import androidx.room.ColumnInfo
|
|
import androidx.room.ColumnInfo
|
|
import androidx.room.DatabaseView
|
|
import androidx.room.DatabaseView
|
|
|
|
|
|
|
|
+@Immutable
|
|
@DatabaseView("SELECT * FROM SongPlaylistMap ORDER BY position")
|
|
@DatabaseView("SELECT * FROM SongPlaylistMap ORDER BY position")
|
|
data class SortedSongPlaylistMap(
|
|
data class SortedSongPlaylistMap(
|
|
@ColumnInfo(index = true) val songId: String,
|
|
@ColumnInfo(index = true) val songId: String,
|