Add client bonus access flag

This commit is contained in:
Ruslan Bakiev
2026-05-16 17:16:31 +07:00
parent c641a3dd23
commit fcc2eb7450
6 changed files with 151 additions and 43 deletions

View File

@@ -60,6 +60,7 @@ model User {
email String @unique
fullName String
role UserRole
bonusProgramEnabled Boolean @default(false)
companyId String?
company Company? @relation(fields: [companyId], references: [id])
counterpartyProfile CounterpartyProfile?