20#ifndef ORES_REFDATA_DOMAIN_COUNTRY_HPP
21#define ORES_REFDATA_DOMAIN_COUNTRY_HPP
26#include <boost/uuid/uuid.hpp>
Domain types for risk management.
Definition country.hpp:28
Represents a country using ISO 3166-1 standard codes.
Definition country.hpp:33
std::string alpha3_code
ISO 3166-1 alpha-3 code (e.g., "USA", "GBR").
Definition country.hpp:47
std::string change_commentary
Free-text commentary explaining the change.
Definition country.hpp:84
std::string alpha2_code
ISO 3166-1 alpha-2 code (e.g., "US", "GB").
Definition country.hpp:42
std::string official_name
Official name of the country (e.g., "United States of America").
Definition country.hpp:62
std::string numeric_code
ISO 3166-1 numeric code (e.g., "840", "826").
Definition country.hpp:52
std::optional< boost::uuids::uuid > image_id
Optional reference to a flag image in the images table.
Definition country.hpp:67
std::chrono::system_clock::time_point recorded_at
Timestamp when this version of the record was recorded in the system.
Definition country.hpp:89
std::string name
Short name of the country (e.g., "United States").
Definition country.hpp:57
std::string recorded_by
Username of the person who recorded this version in the system.
Definition country.hpp:72
int version
Version number for optimistic locking and change tracking.
Definition country.hpp:37
std::string change_reason_code
Code identifying the reason for the change.
Definition country.hpp:79