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

Named, versioned pricing model configuration header. More...

#include <pricing_model_config.hpp>

Collaboration diagram for pricing_model_config:
Collaboration graph

Public Attributes

int version = 0
 Version number for optimistic locking and change tracking.
 
utility::uuid::tenant_id tenant_id = utility::uuid::tenant_id::system()
 Tenant identifier for multi-tenancy isolation.
 
boost::uuids::uuid id
 UUID uniquely identifying this pricing model config.
 
std::string name
 Unique human-readable name for this configuration.
 
std::string description
 Human-readable description of the configuration's purpose.
 
std::optional< std::string > config_variant
 ORE engine variant this config targets.
 
std::string modified_by
 Username of the person who last modified this record.
 
std::string performed_by
 Username of the account that performed this action (set by DB trigger).
 
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

Named, versioned pricing model configuration header.

A pricing model config is the top-level container for ORE's pricingengine.xml content. It groups a set of per-product model/engine assignments and their associated parameters under a single reusable, diffable name.

config_variant distinguishes specialised ORE modes: "standard" for the default engine, "amc" for American Monte Carlo, "dg" for dynamic grid, etc.

Member Data Documentation

◆ name

std::string name

Unique human-readable name for this configuration.

Natural key within a tenant (e.g. "Base SIMM", "AMC Monte Carlo").

◆ config_variant

std::optional<std::string> config_variant

ORE engine variant this config targets.

Values: "standard", "amc", "dg", or empty for default.