data class FirestoreRating
This data structure is used to store the object that will be stored in the Firebase Firestore object ONLY For sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!
Author
Kenneth Soh
Since
2019-10-11
<init> |
Returns a rating object that can be stored/retrieved from Firebase Firestore FirestoreRating(rating: Float = 0.0f, message: String = "", timestamp: Long = System.currentTimeMillis()) |
message |
String Review message of the gym var message: String |
rating |
Float Rating value (1.0 - 5.0) var rating: Float |
timestamp |
Long Last modified date of the review val timestamp: Long |