|
ORE Studio 0.0.4
|
A state within a finite state machine. More...
#include <fsm_state.hpp>

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 state. | |
| boost::uuids::uuid | machine_id |
| UUID of the FSM machine this state belongs to. | |
| std::string | name |
| Human-readable state name (e.g. "new", "live", "expired"). | |
| bool | is_initial = false |
| Whether this is the initial state of the machine. | |
| bool | is_terminal = false |
| Whether this is a terminal state (no outgoing transitions). | |
| 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. | |
| 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. | |
A state within a finite state machine.
States belong to exactly one machine and may be designated as initial (entry point) or terminal (no outgoing transitions).
| std::string name |
Human-readable state name (e.g. "new", "live", "expired").
Unique within a machine.