#ifndef DEVICESTRUCTUREELEMENT_H #define DEVICESTRUCTUREELEMENT_H #include #include "baseentity.h" class DeviceStructureElement : public BaseEntity { public: DeviceStructureElement(); virtual ~DeviceStructureElement(); QString nameModel() const; void setNameModel(const QString &newNameModel); QString nameManuf() const; void setNameManuf(const QString &newNameManuf); QString description() const; void setDescription(const QString &newDescription); QString nameType() const; void setNameType(const QString &newNameType); int count() const; void setCount(int newCount); void fromJson(const QJsonObject &json) override; QJsonObject toJson() const override; private: QString _nameModel = ""; QString _nameManuf = ""; QString _description = ""; QString _nameType = ""; int _count = 1; }; #endif // DEVICESTRUCTUREELEMENT_H