From 86b189aeb9b87f7e2a184d33662031a627ff6af4 Mon Sep 17 00:00:00 2001 From: IvanaE Date: Sun, 18 Nov 2018 13:38:43 -0500 Subject: [PATCH] added rating --- .../uottawa/olympus/olympusservices/ServiceProvider.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java index 16f190c..4c32883 100644 --- a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java @@ -30,6 +30,7 @@ public class ServiceProvider extends UserType { private String companyname; private boolean licensed; private String description; + private int rating @@ -162,4 +163,12 @@ public class ServiceProvider extends UserType { this.description = description; } + public int getRating() { + return rating; + } + + public void setRating(int rating) { + this.rating = rating; + } + } \ No newline at end of file