#ifndef SYSTEM_H #define SYSTEM_H #include #include #pragma db object class System { public: System(); int id() const; void setId(int id); QString pluginId() const; QString schemaVersion() const; QString settings() const; void setSettings(const QString &settings); private: friend class odb::access; #pragma db id auto int m_id; QString m_pluginId; QString m_schemaVersion; QString m_settings; }; #endif // SYSTEM_H