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