20#ifndef ORES_DQ_REPOSITORY_SUBJECT_AREA_ENTITY_HPP
21#define ORES_DQ_REPOSITORY_SUBJECT_AREA_ENTITY_HPP
24#include "sqlgen/Timestamp.hpp"
25#include "sqlgen/PrimaryKey.hpp"
27namespace ores::dq::repository {
35 constexpr static const char* schema =
"metadata";
36 constexpr static const char* tablename =
"dq_subject_areas_tbl";
38 sqlgen::PrimaryKey<std::string> name;
39 sqlgen::PrimaryKey<std::string> domain_name;
41 std::string description;
42 std::string modified_by;
43 std::string change_commentary;
44 sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S"> valid_from =
"9999-12-31 23:59:59";
45 sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S"> valid_to =
"9999-12-31 23:59:59";
Represents a subject_area in the database.
Definition subject_area_entity.hpp:34