|
ORE Studio 0.0.4
|
Domain event indicating that tenant data has changed. More...
#include <tenant_changed_event.hpp>

Public Attributes | |
| std::chrono::system_clock::time_point | timestamp |
| The timestamp of when the change occurred (in UTC). | |
| std::vector< std::string > | tenant_ids |
| IDs of tenants that changed. | |
| std::string | tenant_id |
| The tenant that owns the changed entity. | |
Domain event indicating that tenant data has changed.
This event is published when any tenant entity is created, updated, or deleted in the database. Subscribers can use the timestamp to query for changes since that point.
| std::chrono::system_clock::time_point timestamp |
The timestamp of when the change occurred (in UTC).
Clients can use this timestamp to query the database for entities that have changed since this point.
| std::vector<std::string> tenant_ids |
IDs of tenants that changed.
Contains the UUIDs (as strings) of tenants that were created, updated, or deleted. May contain multiple IDs for batch operations.
| std::string tenant_id |
The tenant that owns the changed entity.
For tenant entities, this is always the system tenant since all tenant records are owned by the system tenant.