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

Represents a typed system setting in the domain layer. More...

#include <system_setting.hpp>

Collaboration diagram for system_setting:
Collaboration graph

Public Attributes

int version = 0
 Version number for optimistic locking and change tracking.
 
std::string tenant_id
 Tenant identifier for multi-tenancy isolation.
 
std::string name
 Name of the setting, serves as the unique identifier.
 
std::string value
 Value stored as text regardless of data_type.
 
std::string data_type
 Type of the value: "boolean", "integer", "string", or "json".
 
std::string description
 Description of what this setting controls.
 
std::string modified_by
 Username of the person who recorded this version.
 
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

Represents a typed system setting in the domain layer.

Supports boolean, integer, string, and json value types. System-wide settings use the system tenant; per-tenant settings use the tenant's own tenant_id.

Member Data Documentation

◆ tenant_id

std::string tenant_id

Tenant identifier for multi-tenancy isolation.

Use the system tenant UUID for system-wide settings.