20#ifndef ORES_REFDATA_API_DOMAIN_BUSINESS_UNIT_HPP
21#define ORES_REFDATA_API_DOMAIN_BUSINESS_UNIT_HPP
26#include <boost/uuid/uuid.hpp>
53 boost::uuids::uuid
id;
Domain types for risk management.
Definition EntityDetailOperations.hpp:192
Internal organizational unit within a party.
Definition business_unit.hpp:37
std::string modified_by
Username of the person who last modified this business unit.
Definition business_unit.hpp:107
std::string change_commentary
Free-text commentary explaining the change.
Definition business_unit.hpp:124
std::string unit_code
Optional internal code or alias.
Definition business_unit.hpp:90
std::string status
Current lifecycle status (Active, Inactive, Closed).
Definition business_unit.hpp:102
boost::uuids::uuid party_id
Top-level legal entity this unit belongs to.
Definition business_unit.hpp:60
std::chrono::system_clock::time_point recorded_at
Timestamp when this version of the record was recorded.
Definition business_unit.hpp:129
std::string business_centre_code
Business centre for the unit.
Definition business_unit.hpp:97
boost::uuids::uuid id
UUID uniquely identifying this business unit.
Definition business_unit.hpp:53
int version
Version number for optimistic locking and change tracking.
Definition business_unit.hpp:41
std::string unit_name
Human-readable name for the business unit.
Definition business_unit.hpp:67
std::string performed_by
Username of the account that performed this action.
Definition business_unit.hpp:112
std::optional< boost::uuids::uuid > unit_type_id
Classification type for this business unit.
Definition business_unit.hpp:83
std::string tenant_id
Tenant identifier for multi-tenancy isolation.
Definition business_unit.hpp:46
std::string change_reason_code
Code identifying the reason for the change.
Definition business_unit.hpp:119
std::optional< boost::uuids::uuid > parent_business_unit_id
Self-referencing parent unit for hierarchy.
Definition business_unit.hpp:74