Merge branch 'feature' into feature-1552-1560
This commit is contained in:
@@ -42,6 +42,14 @@ public:
|
||||
util::ServiceJobStatus status,
|
||||
const util::Timestamp& completionDate
|
||||
);
|
||||
JobCard(const std::string& id,
|
||||
const std::string& bookingId,
|
||||
const std::string& serviceId,
|
||||
const std::string& technicianId,
|
||||
const util::Timestamp& assignedDate,
|
||||
util::ServiceJobStatus status,
|
||||
const util::Timestamp& completionDate
|
||||
);
|
||||
const std::string& getId() const;
|
||||
const std::string& getBookingId() const;
|
||||
ServiceBooking* getBooking() const;
|
||||
@@ -62,4 +70,7 @@ public:
|
||||
void setAssignedDate(const util::Timestamp& assignedDate);
|
||||
void setStatus(util::ServiceJobStatus status);
|
||||
void setCompletionDate(const util::Timestamp& completionDate);
|
||||
std::string serialize() const;
|
||||
static JobCard* deserialize(const std::string&);
|
||||
static std::string getHeaders();
|
||||
};
|
||||
Reference in New Issue
Block a user