20#ifndef ORES_DQ_DOMAIN_CODE_DOMAIN_HPP
21#define ORES_DQ_DOMAIN_CODE_DOMAIN_HPP
25#include "ores.utility/uuid/tenant_id.hpp"
27namespace ores::dq::domain {
A named namespace for disambiguating enum codes across entity types.
Definition code_domain.hpp:41
int display_order
Order for UI display purposes.
Definition code_domain.hpp:72
std::string modified_by
Username of the person who last modified this code domain.
Definition code_domain.hpp:77
std::string change_commentary
Free-text commentary explaining the change.
Definition code_domain.hpp:94
std::string description
Detailed description of what this code domain classifies.
Definition code_domain.hpp:67
std::string code
Unique code domain identifier.
Definition code_domain.hpp:57
std::chrono::system_clock::time_point recorded_at
Timestamp when this version of the record was recorded.
Definition code_domain.hpp:99
std::string name
Human-readable name for the code domain.
Definition code_domain.hpp:62
int version
Version number for optimistic locking and change tracking.
Definition code_domain.hpp:45
std::string performed_by
Username of the account that performed this action.
Definition code_domain.hpp:82
utility::uuid::tenant_id tenant_id
Tenant identifier for multi-tenancy isolation.
Definition code_domain.hpp:50
std::string change_reason_code
Code identifying the reason for the change.
Definition code_domain.hpp:89
A strongly-typed wrapper around a UUID representing a tenant identifier.
Definition tenant_id.hpp:66
static tenant_id system()
Creates a tenant_id representing the system tenant.
Definition tenant_id.cpp:41