PNP_PIbd-31_Rodionov_I_A_Co.../models/location.h
2024-12-24 18:13:22 +04:00

25 lines
392 B
C++

#ifndef LOCATION_H
#define LOCATION_H
#include <QString>
#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