20#ifndef ORES_IAM_REPOSITORY_SESSION_MAPPER_HPP
21#define ORES_IAM_REPOSITORY_SESSION_MAPPER_HPP
24#include "ores.logging/make_logger.hpp"
25#include "ores.iam/domain/session.hpp"
26#include "ores.iam/repository/session_entity.hpp"
35 inline static std::string_view logger_name =
36 "ores.iam.repository.session_mapper";
40 static auto instance = make_logger(logger_name);
48 static std::vector<domain::session>
49 map(
const std::vector<session_entity>& v);
50 static std::vector<session_entity>
51 map(
const std::vector<domain::session>& v);
54 static std::vector<domain::session_statistics>
55 map(
const std::vector<session_statistics_entity>& 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 a user session in the system.
Definition session.hpp:78
Aggregated session statistics for a time period.
Definition session.hpp:177
Represents a session record in the database.
Definition session_entity.hpp:37
Entity for session statistics from continuous aggregates.
Definition session_entity.hpp:113
Maps session domain objects to database entities and vice-versa.
Definition session_mapper.hpp:33