20#ifndef ORES_REFDATA_API_DOMAIN_PARTY_TYPE_HPP
21#define ORES_REFDATA_API_DOMAIN_PARTY_TYPE_HPP
25#include "ores.utility/uuid/tenant_id.hpp"
Domain types for risk management.
Definition EntityDetailOperations.hpp:192
Classification of legal entities participating in financial transactions.
Definition party_type.hpp:38
int display_order
Order for UI display purposes.
Definition party_type.hpp:69
std::string modified_by
Username of the person who last modified this party type.
Definition party_type.hpp:74
std::string change_commentary
Free-text commentary explaining the change.
Definition party_type.hpp:91
std::string description
Detailed description of the party type.
Definition party_type.hpp:64
std::string code
Unique type code.
Definition party_type.hpp:54
std::chrono::system_clock::time_point recorded_at
Timestamp when this version of the record was recorded.
Definition party_type.hpp:96
std::string name
Human-readable name for the party type.
Definition party_type.hpp:59
int version
Version number for optimistic locking and change tracking.
Definition party_type.hpp:42
std::string performed_by
Username of the account that performed this action.
Definition party_type.hpp:79
utility::uuid::tenant_id tenant_id
Tenant identifier for multi-tenancy isolation.
Definition party_type.hpp:47
std::string change_reason_code
Code identifying the reason for the change.
Definition party_type.hpp:86
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