sea_transport_project/entities/cargo_entity.h
2020-12-15 16:31:27 +07:00

24 lines
400 B
C++

#ifndef CARGO_ENTITY_H
#define CARGO_ENTITY_H
#include <QString>
#include <QCryptographicHash>
class cargo_entity
{
private:
unsigned long long _id;
QString _title;
unsigned int _volume;
public:
cargo_entity() = default;
cargo_entity(const QString &title, int volume);
unsigned long long id();
QString title();
unsigned int volume();
};
#endif // CARGO_ENTITY_H