temporal abyss

master
Isaac Iwasaki 2 months ago
parent e5fb995c84
commit 277d807068

@ -11,10 +11,10 @@ import java.util.UUID
@Entity
data class Album(
@ColumnInfo val name: String, @ColumnInfo val artistId: UUID
@ColumnInfo val name: String
) {
@PrimaryKey
var uuid: UUID = UUID.nameUUIDFromBytes("$name$artistId".toByteArray())
var uuid: UUID = UUID.nameUUIDFromBytes(name.toByteArray())
}
@Dao

Loading…
Cancel
Save