From fb4c32bcb17ab558372d89e97f9d6fc66d978179 Mon Sep 17 00:00:00 2001 From: Mary Tran Date: Mon, 19 Nov 2018 21:37:27 -0500 Subject: [PATCH] Updated booking --- .../java/com/uottawa/olympus/olympusservices/Booking.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Booking.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Booking.java index c809331..8800853 100644 --- a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Booking.java +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Booking.java @@ -46,6 +46,7 @@ public class Booking { this.year = year; this.serviceprovider = serviceprovider; this.homeowner = homeowner; + this.service = service; this.status = Status.PENDING; } @@ -118,12 +119,14 @@ public class Booking { return homeowner; } - public Service getService(){ return service; } - public void setHomeowner(HomeOwner homeowner) { this.homeowner = homeowner; } + public Service getService(){ return service; } + + public void setService(Service service) { this.service = service;} + public void setStatus(Status status){ this.status = status; }