1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
3 #ifndef TIMEPERIODDBOBJECT_H
4 #define TIMEPERIODDBOBJECT_H
6 #include "db_ido/dbobject.hpp"
7 #include "base/configobject.hpp"
13 * A TimePeriod database object.
17 class TimePeriodDbObject final : public DbObject
20 DECLARE_PTR_TYPEDEFS(TimePeriodDbObject);
22 TimePeriodDbObject(const DbType::Ptr& type, const String& name1, const String& name2);
25 Dictionary::Ptr GetConfigFields() const override;
26 Dictionary::Ptr GetStatusFields() const override;
28 void OnConfigUpdateHeavy() override;
33 #endif /* TIMEPERIODDBOBJECT_H */