managers relation is fixed (6x)

This commit is contained in:
dalbodeule 2024-08-28 17:39:35 +09:00
parent 7c2f5f90fe
commit f5133c4551
No known key found for this signature in database
GPG Key ID: EFA860D069C9FA65

View File

@ -28,8 +28,8 @@ class User(id: EntityID<Int>) : IntEntity(id) {
var liveAlertMessage by Users.liveAlertMessage
// 유저가 가진 매니저들
val managers by User.via(UserManagers.user, UserManagers.manager)
val managers by User.via(UserManagers.manager, UserManagers.user)
// 매니저가 관리하는 유저들
val subordinates by User.via(UserManagers.manager, UserManagers.user)
val subordinates by User.via(UserManagers.user, UserManagers.manager)
}