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

Represents a country using ISO 3166-1 standard codes. More...

#include <country.hpp>

Collaboration diagram for country:
Collaboration graph

Public Attributes

int version = 0
 Version number for optimistic locking and change tracking.
 
std::string alpha2_code
 ISO 3166-1 alpha-2 code (e.g., "US", "GB").
 
std::string alpha3_code
 ISO 3166-1 alpha-3 code (e.g., "USA", "GBR").
 
std::string numeric_code
 ISO 3166-1 numeric code (e.g., "840", "826").
 
std::string name
 Short name of the country (e.g., "United States").
 
std::string official_name
 Official name of the country (e.g., "United States of America").
 
std::optional< boost::uuids::uuid > image_id
 Optional reference to a flag image in the images table.
 
std::string recorded_by
 Username of the person who recorded this version in the system.
 
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 in the system.
 

Detailed Description

Represents a country using ISO 3166-1 standard codes.

Member Data Documentation

◆ change_reason_code

std::string change_reason_code

Code identifying the reason for the change.

References change_reasons table (soft FK).