20#ifndef ORES_ACCOUNTS_EVENTING_ROLE_ASSIGNED_EVENT_HPP
21#define ORES_ACCOUNTS_EVENTING_ROLE_ASSIGNED_EVENT_HPP
24#include <boost/uuid/uuid.hpp>
25#include "ores.eventing/domain/event_traits.hpp"
27namespace ores::accounts::eventing {
55namespace ores::eventing::domain {
62 static constexpr std::string_view name =
"ores.accounts.role_assigned";
ORE Studio - Graphical interface and data management for Open Source Risk Engine.
Definition account.hpp:26
Domain event indicating that a role has been assigned to an account.
Definition role_assigned_event.hpp:36
boost::uuids::uuid role_id
The role that was assigned.
Definition role_assigned_event.hpp:45
boost::uuids::uuid account_id
The account that received the role.
Definition role_assigned_event.hpp:40
std::chrono::system_clock::time_point timestamp
The timestamp of when the assignment occurred (in UTC).
Definition role_assigned_event.hpp:50
Traits template for mapping event types to their logical names.
Definition event_traits.hpp:44