Tenant System
Tenant Types
| Type | Description | Example |
|---|---|---|
CENTER | Standard center | Rehab center, pharmacy |
WORKSPACE | Personal space | Instructor’s workspace |
PROGRAM | Sub-unit of center | Specific therapy program |
WHITE_LABEL | Partner-branded | slowpace.co.kr |
Center Lifecycle
Provisioning
Center creation includes:- Create center record
- Set up default roles and permissions
- Configure vertical-specific settings
- Create admin membership
- Initialize audit log
Data Isolation
Every center’s data is isolated throughcenter_id scoping:
- 200+ tables filtered by
center_id - Prisma middleware enforces scoping automatically
basePrismafor cross-center operations (audited)
Partner Platform
Cronozen supports partner organizations managing multiple centers:| Customer Type | Description |
|---|---|
| A | Direct center operators |
| B | White-label partners |
| C | Franchise networks |
Partner APIs
GET /api/partner/centers— List managed centersPOST /api/partner/centers— Create new centerGET /api/partner/stats/dashboard— Dashboard statisticsGET /api/partner/audit— Audit logGET /api/partner/members— Member management