#ifndef DPOINT_ENTITY_H #define DPOINT_ENTITY_H #include "IEntity.h" #include "storage_entity.h" #include #include #include class dpoint_entity : public IEntity { private: entity_id _id; entity_id _dispatcher_id; QString _title; QVector _storages; public: dpoint_entity() = default; dpoint_entity(entity_id dispatcher_id, const QString &title); entity_id id() const; entity_id dispatcher() const; QString title() const; const QVector storages(); void serialize(QDataStream &output); void deserialize(QDataStream &input); }; #endif // DPOINT_ENTITY_H