20#ifndef ORES_IAM_REPOSITORY_TENANT_ENTITY_HPP
21#define ORES_IAM_REPOSITORY_TENANT_ENTITY_HPP
25#include "ores.database/repository/db_types.hpp"
26#include "sqlgen/PrimaryKey.hpp"
39 constexpr static const char* schema =
"public";
40 constexpr static const char* tablename =
"ores_iam_tenants_tbl";
42 sqlgen::PrimaryKey<std::string> id;
43 std::string tenant_id;
48 std::string description;
51 std::string modified_by;
52 std::string performed_by;
53 std::string change_reason_code;
54 std::string change_commentary;
59std::ostream& operator<<(std::ostream& s,
const tenant_entity& v);
ores::database::repository::db_timestamp db_timestamp
Canonical database timestamp type.
Definition database_info_entity.hpp:31
Database persistence layer for IAM domain types.
Definition account_entity.hpp:28
Represents a tenant in the database.
Definition tenant_entity.hpp:38