20#ifndef ORES_VARIABILITY_REPOSITORY_FEATURE_FLAGS_ENTITY_HPP
21#define ORES_VARIABILITY_REPOSITORY_FEATURE_FLAGS_ENTITY_HPP
24#include "sqlgen/Timestamp.hpp"
25#include "sqlgen/PrimaryKey.hpp"
27namespace ores::variability::repository {
33 constexpr static const char* schema =
"oresdb";
34 constexpr static const char* tablename =
"feature_flags";
36 sqlgen::PrimaryKey<std::string> name;
39 std::string description;
40 std::string modified_by;
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 feature flag in the database.
Definition feature_flags_entity.hpp:32