20#ifndef ORES_DQ_REPOSITORY_CHANGE_REASON_CATEGORY_ENTITY_HPP
21#define ORES_DQ_REPOSITORY_CHANGE_REASON_CATEGORY_ENTITY_HPP
24#include "sqlgen/Timestamp.hpp"
25#include "sqlgen/PrimaryKey.hpp"
27namespace ores::dq::repository {
33 constexpr static const char* schema =
"metadata";
34 constexpr static const char* tablename =
"dq_change_reason_categories_tbl";
36 sqlgen::PrimaryKey<std::string> code;
38 std::string description;
39 std::string modified_by;
40 std::string change_commentary;
41 sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S"> valid_from =
"9999-12-31 23:59:59";
42 sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S"> valid_to =
"9999-12-31 23:59:59";
Represents a change_reason_category in the database.
Definition change_reason_category_entity.hpp:32