20#ifndef ORES_ACCOUNTS_REPOSITORY_ROLE_PERMISSION_ENTITY_HPP
21#define ORES_ACCOUNTS_REPOSITORY_ROLE_PERMISSION_ENTITY_HPP
24#include "sqlgen/Timestamp.hpp"
26namespace ores::accounts::repository {
40 constexpr static const char* schema =
"oresdb";
41 constexpr static const char* tablename =
"role_permissions";
44 std::string permission_id;
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";
Represents a role-permission assignment in the database.
Definition role_permission_entity.hpp:39