From 0f2cc02f9950c9b0f31043858faeb0d91cdf12f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=84=EB=AF=BC=EC=98=A4?= Date: Thu, 1 Aug 2024 23:58:06 +0900 Subject: [PATCH] feat: user queue shuffling disable --- .../open3r/openmusic/domain/user/domain/entity/UserEntity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/open3r/openmusic/domain/user/domain/entity/UserEntity.kt b/src/main/kotlin/com/open3r/openmusic/domain/user/domain/entity/UserEntity.kt index b4ffd49..f68b2e7 100644 --- a/src/main/kotlin/com/open3r/openmusic/domain/user/domain/entity/UserEntity.kt +++ b/src/main/kotlin/com/open3r/openmusic/domain/user/domain/entity/UserEntity.kt @@ -42,7 +42,7 @@ class UserEntity( var status: UserStatus = UserStatus.ACTIVE, @OneToMany(mappedBy = "user", fetch = FetchType.LAZY, cascade = [CascadeType.ALL], orphanRemoval = true) - val queue: MutableSet = mutableSetOf(), + val queue: MutableList = mutableListOf(), @OneToMany(mappedBy = "user", fetch = FetchType.LAZY, cascade = [CascadeType.ALL], orphanRemoval = true) val recents: MutableList = mutableListOf(),