ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
currency_entity Struct Reference

Represents a currency in the database. More...

#include <currency_entity.hpp>

Collaboration diagram for currency_entity:
Collaboration graph

Public Attributes

sqlgen::PrimaryKey< std::string > iso_code
 
int version = 0
 
std::string name
 
std::string numeric_code
 
std::string symbol
 
std::string fraction_symbol
 
int fractions_per_unit
 
std::string rounding_type
 
int rounding_precision
 
std::string format
 
std::string currency_type
 
std::string modified_by
 
std::optional< sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> > valid_from = "9999-12-31 23:59:59"
 
std::optional< sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> > valid_to = "9999-12-31 23:59:59"
 

Static Public Attributes

static constexpr const char * schema = "oresdb"
 
static constexpr const char * tablename = "currencies"
 

Detailed Description

Represents a currency in the database.