|
ORE Studio 0.0.4
|
Lifecycle states for book records. More...
#include <book_status.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. | |
| std::string | code |
| Unique status code. | |
| std::string | name |
| Human-readable name for the status. | |
| std::string | description |
| Detailed description of the book status. | |
| int | display_order |
| Order for UI display purposes. | |
| std::string | modified_by |
| Username of the person who last modified this book status. | |
| 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. | |
Lifecycle states for book records.
Reference data table defining valid book status values. Examples: 'Active', 'Closed', 'Frozen'.
Book statuses are managed by the system tenant and are used to track the lifecycle of book records.
| std::string code |
Unique status code.
Examples: 'Active', 'Closed', 'Frozen'.
| std::string change_reason_code |
Code identifying the reason for the change.
References change_reasons table (soft FK).