added white labeling feature

This commit is contained in:
Rajpreet0 2026-08-26 17:54:21 +02:00
parent 80493f5040
commit 04e294bc10
31 changed files with 1457 additions and 35 deletions

View file

@ -112,6 +112,7 @@ model Business {
stripeAccountStatus String? // "pending" | "active" | "restricted"
invoiceCounter Int @default(0) // Fortlaufender Zähler für Rechnungsnummern
cancellationPolicy Json? // { tiers: [{ hoursBeforeStart: number, refundPercent: number }, ...] }, absteigend sortiert. null = immer 100% Rückerstattung.
branding Json? // { companyName, logoUrl, primaryColor, accentColor }. null = Kumasy-Standardbranding (siehe KUMASY_BRANDING).
manager Manager @relation(fields: [managerId], references: [id])
courses Course[]
createdAt DateTime @default(now())