20#ifndef ORES_IAM_REPOSITORY_ACCOUNT_ROLE_ENTITY_HPP
21#define ORES_IAM_REPOSITORY_ACCOUNT_ROLE_ENTITY_HPP
24#include "sqlgen/Timestamp.hpp"
36 constexpr static const char* schema =
"production";
37 constexpr static const char* tablename =
"iam_account_roles_tbl";
39 std::string account_id;
41 std::string assigned_by;
42 std::string change_reason_code;
43 std::string change_commentary;
44 sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S"> assigned_at =
"9999-12-31 23:59:59";
45 sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S"> valid_from =
"9999-12-31 23:59:59";
46 sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S"> valid_to =
"9999-12-31 23:59:59";
Database persistence layer for IAM domain types.
Definition account_entity.hpp:27
Represents an account-role assignment in the database.
Definition account_role_entity.hpp:35