ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
tenant_type Struct Referencefinal

Classification of tenant types. More...

#include <tenant_type.hpp>

Collaboration diagram for tenant_type:
Collaboration graph

Public Attributes

int version = 0
 Version number for optimistic locking and change tracking.
 
std::string type
 Unique type code.
 
std::string name
 Human-readable name for the type.
 
std::string description
 Detailed description of the tenant type.
 
int display_order
 Order for UI display purposes.
 
std::string modified_by
 Username of the person who last modified this tenant type.
 
std::string change_reason_code
 Code identifying the reason for the change.
 
std::string change_commentary
 Free-text commentary explaining the change.
 
std::string performed_by
 Username of the account that performed this operation.
 
std::chrono::system_clock::time_point recorded_at
 Timestamp when this version of the record was recorded.
 

Detailed Description

Classification of tenant types.

Reference data table defining valid tenant type classifications. Examples: 'system', 'production', 'evaluation', 'automation'.

Tenant types are managed by the system tenant and are used to categorise tenants for different purposes.

Member Data Documentation

◆ type

std::string type

Unique type code.

Examples: 'system', 'production', 'evaluation'.

◆ change_reason_code

std::string change_reason_code

Code identifying the reason for the change.

References change_reasons table (soft FK).