20#ifndef ORES_DQ_REPOSITORY_CATALOG_ENTITY_HPP
21#define ORES_DQ_REPOSITORY_CATALOG_ENTITY_HPP
25#include "sqlgen/Timestamp.hpp"
26#include "sqlgen/PrimaryKey.hpp"
28namespace ores::dq::repository {
34 constexpr static const char* schema =
"metadata";
35 constexpr static const char* tablename =
"dq_catalogs_tbl";
37 sqlgen::PrimaryKey<std::string> name;
39 std::string description;
40 std::optional<std::string> owner;
41 std::string modified_by;
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";
Represents a catalog in the database.
Definition catalog_entity.hpp:33