25 lines
417 B
C
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
|