ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
tenant_entity Struct Reference

Represents a tenant in the database. More...

#include <tenant_entity.hpp>

Collaboration diagram for tenant_entity:
Collaboration graph

Public Attributes

sqlgen::PrimaryKey< std::string > id
 
std::string tenant_id
 
int version = 0
 
std::string type
 
std::string code
 
std::string name
 
std::string description
 
std::string hostname
 
std::string status
 
std::string modified_by
 
std::string performed_by
 
std::string change_reason_code
 
std::string change_commentary
 
sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> valid_from = "9999-12-31 23:59:59"
 
sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> valid_to = "9999-12-31 23:59:59"
 

Static Public Attributes

static constexpr const char * schema = "public"
 
static constexpr const char * tablename = "ores_iam_tenants_tbl"
 

Detailed Description

Represents a tenant in the database.

Note: All tenant records have tenant_id = system_tenant_id. Tenants are managed by the system tenant.