Add delivery point entity
This commit is contained in:
parent
ecd5d3ae4e
commit
b1333c74a5
3 changed files with 48 additions and 0 deletions
25
entities/dpoint_entity.h
Normal file
25
entities/dpoint_entity.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#ifndef DPOINT_ENTITY_H
|
||||
#define DPOINT_ENTITY_H
|
||||
|
||||
#include <QString>
|
||||
#include <QVector>
|
||||
#include <QCryptographicHash>
|
||||
|
||||
|
||||
class dpoint_entity
|
||||
{
|
||||
private:
|
||||
unsigned long long _id;
|
||||
QString _title;
|
||||
QVector<unsigned long long> _storages_ids;
|
||||
|
||||
public:
|
||||
dpoint_entity() = default;
|
||||
dpoint_entity(const QString &title);
|
||||
|
||||
unsigned long long id();
|
||||
QString title();
|
||||
const QVector<unsigned long long> storages_ids();
|
||||
};
|
||||
|
||||
#endif // DPOINT_ENTITY_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue