Add DeliveryAssignment class definition
This commit is contained in:
@@ -1 +1,16 @@
|
|||||||
|
/*
|
||||||
|
Author: Joel Mathew Thomas
|
||||||
|
Date: 18-02-2026
|
||||||
|
*/
|
||||||
|
|
||||||
#include "DeliveryAssignment.h"
|
#include "DeliveryAssignment.h"
|
||||||
|
|
||||||
|
int DeliveryAssignment::getId() const
|
||||||
|
{
|
||||||
|
return m_id;
|
||||||
|
}
|
||||||
|
|
||||||
|
Order& DeliveryAssignment::getOrder()
|
||||||
|
{
|
||||||
|
return m_order;
|
||||||
|
}
|
||||||
|
|||||||
@@ -27,6 +27,6 @@ public:
|
|||||||
{}
|
{}
|
||||||
int getId() const;
|
int getId() const;
|
||||||
DeliveryStatus getStatus() const;
|
DeliveryStatus getStatus() const;
|
||||||
Order* getOrder();
|
Order& getOrder();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user