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

Groups change reasons into logical categories. More...

#include <change_reason_category.hpp>

Collaboration diagram for change_reason_category:
Collaboration graph

Public Attributes

int version = 0
 Version number for optimistic locking and change tracking.
 
std::string tenant_id
 Tenant identifier for multi-tenancy isolation.
 
std::string code
 Unique code identifying this category.
 
std::string description
 Human-readable description of the category's purpose.
 
std::string modified_by
 Username of the person who last modified this category.
 
std::string change_commentary
 Free-text commentary explaining the change.
 
std::string performed_by
 Username of the account that performed this operation.
 
std::chrono::system_clock::time_point recorded_at
 Timestamp when this version of the record was recorded.
 

Detailed Description

Groups change reasons into logical categories.

Change reason categories define the namespace for change reasons and determine which reasons apply to which entity types. Categories provide a way to organize change reasons by domain or purpose.

Examples of categories:

Note
This type only includes change_commentary (not change_reason_code) because this entity IS a change reason category. Self-referential tracking is handled at the database level.

Member Data Documentation

◆ code

std::string code

Unique code identifying this category.

This is the natural key for the category. Examples: "static_data", "trade", "market_data", "system".