#pragma once #include "json.hpp" #include "entry.h" #include namespace entry { class Feature : public Entry { public: static std::shared_ptr create(const nlohmann::json& data); virtual ~Feature() {} protected: Feature(const nlohmann::json& data) : Entry(data) {} Feature(const std::string& entry, const std::string& name, const std::string& type, const std::string& text) : Entry(entry, name, type, text) {}; }; }