ores.refdata.currency_market_tier
Table of Contents
Reference data defining valid currency market tier classifications. Values include: G10, Emerging, Exotic, Frontier, Historical.
Flags
Columns
code
Unique currency market tier code.
Examples: 'G10', 'Emerging', 'Exotic', 'Frontier', 'Historical'.
name
Human-readable name for the currency market tier.
std::string(faker::word::adjective()) + " Market Tier"
description
Detailed description of the currency market tier.
std::string(faker::lorem::sentence())
display_order
Order for UI display purposes.
faker::number::integer(1, 100)
SQL
Flags
Extra drops
drop function if exists ores_refdata_validate_currency_market_tier_fn;
Validation function
Insert trigger
Validations
| column | validation_function |
|---|---|
| change_reason_code | ores_dq_validate_change_reason_fn |
C++
Flags
Repository
Domain includes
#include <chrono> #include <string>
Entity includes
#include <string> #include "sqlgen/Timestamp.hpp"
Conventions
Table display
| column | header |
|---|---|
| code | Code |
| name | Name |
| description | Description |
| display_order | Order |
| modified_by | Modified By |
| version | Version |
Qt
Columns (Qt model)
| enum_name | field | header | type | width | is_badge | badge_key |
|---|---|---|---|---|---|---|
| Code | code | Code | string | 150 | true | currency_market_tier |
| Name | name | Name | string | 200 | ||
| Description | description | Description | string | 300 | ||
| DisplayOrder | display_order | Order | int | 80 | ||
| Version | version | Version | int | 80 | ||
| ModifiedBy | modified_by | Modified By | string | 120 | ||
| RecordedAt | recorded_at | Recorded At | timestamp | 150 |
Custom repository methods
See also
- ores.refdata — component group overview.