aboutsummaryrefslogtreecommitdiff
path: root/src/feature.h
blob: e3c8bdfec586d692bfc9cb83258f4b1417b768c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once
#include <nlohmann/json.hpp>
#include "entry.h"
#include <memory>

namespace entry {
    class Feature : public Entry {
        public:
            Feature() {}
            Feature(const std::string& name, const std::string& type, const std::string& text) : Entry("feature", name, type, text) {}
            static std::shared_ptr<Feature> create(const nlohmann::json& data);
            virtual ~Feature() {}
    };
}