data class GymRatings
This is used to display Gym Ratings in a RecyclewView, will make use of the FirestoreRating object to store the reviews itself For sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!
Author
Kenneth Soh
Since
2019-10-12
<init> |
Returns the review and rating of a particular gym by a particular user GymRatings(user: String = "", ratingObj: FirestoreRating = FirestoreRating(), userObj: User = User()) |
ratingObj |
FirestoreRating Review object val ratingObj: FirestoreRating |
user |
String User whose review is being shown val user: String |
userObj |
User User's object (MUST MATCH user) val userObj: User |