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

An external identifier for a counterparty under a specific scheme. More...

#include <counterparty_identifier.hpp>

Collaboration diagram for counterparty_identifier:
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.
 
boost::uuids::uuid id
 UUID uniquely identifying this counterparty identifier.
 
boost::uuids::uuid counterparty_id
 The counterparty this identifier belongs to.
 
std::string id_scheme
 The identification scheme for this identifier.
 
std::string id_value
 The identifier value.
 
std::string description
 Optional description of this identifier.
 
std::string modified_by
 Username of the person who last modified this counterparty identifier.
 
std::string performed_by
 Username of the account that performed this action.
 
std::string change_reason_code
 Code identifying the reason for the change.
 
std::string change_commentary
 Free-text commentary explaining the change.
 
std::chrono::system_clock::time_point recorded_at
 Timestamp when this version of the record was recorded.
 

Detailed Description

An external identifier for a counterparty under a specific scheme.

External identifiers for counterparties, such as LEI codes, BIC/SWIFT codes, national registration numbers, and tax identifiers. Each counterparty can have multiple identifiers across different schemes.

Member Data Documentation

◆ id

boost::uuids::uuid id

UUID uniquely identifying this counterparty identifier.

Surrogate key for the counterparty identifier record.

◆ counterparty_id

boost::uuids::uuid counterparty_id

The counterparty this identifier belongs to.

References the parent counterparty record.

◆ id_scheme

std::string id_scheme

The identification scheme for this identifier.

References the party_id_scheme lookup table (e.g. LEI, BIC).

◆ id_value

std::string id_value

The identifier value.

The actual identifier string within the scheme.

◆ description

std::string description

Optional description of this identifier.

Free text description providing additional context.

◆ change_reason_code

std::string change_reason_code

Code identifying the reason for the change.

References change_reasons table (soft FK).