20#ifndef ORES_IAM_REPOSITORY_ROLE_ENTITY_HPP
21#define ORES_IAM_REPOSITORY_ROLE_ENTITY_HPP
24#include "sqlgen/Timestamp.hpp"
25#include "sqlgen/PrimaryKey.hpp"
33 constexpr static const char* schema =
"production";
34 constexpr static const char* tablename =
"iam_roles_tbl";
36 sqlgen::PrimaryKey<std::string> id;
39 std::string description;
40 std::string modified_by;
41 std::string change_reason_code;
42 std::string change_commentary;
43 sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S"> valid_from =
"9999-12-31 23:59:59";
44 sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S"> valid_to =
"9999-12-31 23:59:59";
47std::ostream& operator<<(std::ostream& s,
const role_entity& v);
Database persistence layer for IAM domain types.
Definition account_entity.hpp:27
Represents a role in the database.
Definition role_entity.hpp:32