#ifndef DEPARTMENT_H #define DEPARTMENT_H #include #include "baseentity.h" class Department : public BaseEntity { public: Department(); virtual ~Department(); QString name() const; void setName(const QString &newName); void fromJson(const QJsonObject &json) override; QJsonObject toJson() const override; private: QString _name = ""; }; #endif // DEPARTMENT_H