ores.iam.tenant_type
Table of Contents
Reference data table defining valid tenant type classifications. Examples: 'organisation', 'platform', 'sandbox'.
Tenant types are managed by the system tenant and are used to categorise tenants for different purposes.
Flags
Primary key
Unique type code.
Examples: 'organisation', 'platform'.
Natural keys
name
Human-readable name for the type.
std::string(faker::word::adjective()) + " Tenant"
Columns
description
Detailed description of the tenant type.
std::string(faker::lorem::sentence())
display_order
Order for UI display purposes.
faker::number::integer(1, 100)
SQL
Flags
C++
Flags
Repository
Domain includes
#include <chrono> #include <string>
Entity includes
#include <string> #include "sqlgen/Timestamp.hpp"
Conventions
Table display
| column | header |
|---|---|
| type | Type |
| name | Name |
| description | Description |
| display_order | Order |
| modified_by | Modified By |
| version | Version |
Qt
Detail fields
| field | label | widget | type | is_key | is_required | placeholder |
|---|---|---|---|---|---|---|
| type | Type | codeEdit | line_edit | true | true | Enter tenant type code |
| name | Name | nameEdit | line_edit | true | Enter display name | |
| description | Description | descriptionEdit | text_edit | Enter a description |
Columns (Qt model)
| enum_name | field | header | type | width |
|---|---|---|---|---|
| Type | type | Type | string | 120 |
| Name | name | Name | string | 200 |
| Description | description | Description | string | 300 |
| DisplayOrder | display_order | Order | int | 80 |
| Version | version | Version | int | 80 |
| ModifiedBy | modified_by | Modified By | string | 120 |
| RecordedAt | recorded_at | Recorded At | timestamp | 150 |
Custom repository methods
See also
- ores.iam — component group overview.