|
ORE Studio 0.0.4
|
A valid state-to-state transition within a finite state machine. More...
#include <fsm_transition.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 transition. | |
| boost::uuids::uuid | machine_id |
| UUID of the FSM machine this transition belongs to. | |
| std::optional< boost::uuids::uuid > | from_state_id |
| Source state UUID. | |
| boost::uuids::uuid | to_state_id |
| Target state UUID. | |
| std::string | name |
| Human-readable transition name (e.g. "confirm", "cancel_new"). | |
| std::string | guard_function |
| Optional guard function name for business rule enforcement. | |
| 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 valid state-to-state transition within a finite state machine.
A NULL from_state_id represents an initial booking transition (no prior state).
| std::optional<boost::uuids::uuid> from_state_id |
Source state UUID.
NULL/absent for initial booking transitions (no prior state required).