feat: User services

This commit is contained in:
sauravdhakal12
2026-02-20 15:53:45 +05:45
parent 9561693cb4
commit f6bce78aee
39 changed files with 6509 additions and 66 deletions

View File

@@ -0,0 +1,14 @@
model OrganizationUserJoinTable {
userId String
orgId String
role ORG_ROLE @default(user)
joinedDate DateTime @default(now())
@@unique([userId, orgId])
@@map("organization_user_join")
}
enum ORG_ROLE {
admin
user
}