mirror of
https://github.com/emptyynes/EmptyPlayer.git
synced 2025-01-22 00:12:27 +03:00
temporal abyss
This commit is contained in:
parent
e5fb995c84
commit
277d807068
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue