20#ifndef ORES_IAM_REPOSITORY_ACCOUNT_ROLE_MAPPER_HPP
21#define ORES_IAM_REPOSITORY_ACCOUNT_ROLE_MAPPER_HPP
23#include "ores.iam/domain/account_role.hpp"
24#include "ores.iam/repository/account_role_entity.hpp"
25#include "ores.logging/make_logger.hpp"
34 inline static std::string_view logger_name =
35 "ores.iam.repository.account_role_mapper";
37 [[nodiscard]]
static auto& lg() {
39 static auto instance = make_logger(logger_name);
46 static std::vector<domain::account_role>
47 map(
const std::vector<account_role_entity>& v);
48 static std::vector<account_role_entity>
49 map(
const std::vector<domain::account_role>& v);
Database persistence layer for IAM domain types.
Definition account_entity.hpp:27
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Represents the assignment of a role to an account.
Definition account_role.hpp:36
Represents an account-role assignment in the database.
Definition account_role_entity.hpp:35
Maps account_role domain entities to data storage layer and vice-versa.
Definition account_role_mapper.hpp:32