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

Severity levels for badge visual classification. More...

#include <badge_severity.hpp>

Collaboration diagram for badge_severity:
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.
 
std::string code
 Unique severity code.
 
std::string name
 Human-readable name for the severity level.
 
std::string description
 Detailed description of the severity level.
 
int display_order
 Order for UI display purposes.
 
std::string modified_by
 Username of the person who last modified this badge severity.
 
std::string performed_by
 Username of the account that performed this action.
 
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

Severity levels for badge visual classification.

Reference data defining severity levels used to classify badges. Codes align with Bootstrap 5 contextual classes so Wt rendering requires no translation layer.

Values: secondary, info, success, warning, danger, primary.

Member Data Documentation

◆ code

std::string code

Unique severity code.

Examples: 'secondary', 'info', 'success', 'warning', 'danger', 'primary'.

◆ change_reason_code

std::string change_reason_code

Code identifying the reason for the change.

References change_reasons table (soft FK).