PNP_PIbd-31_Rodionov_I_A_Co.../models/manufacturer.h
2024-12-24 18:02:23 +04:00

25 lines
417 B
C++

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