app / sg.edu.ntu.scse.cz2006.gymbuddies.datastruct / FavGymFirestore

FavGymFirestore

data class FavGymFirestore

Data Structure for storing the Firebase Firestore's Favourite Gym document objects For sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!

Author
Kenneth Soh

Since
2019-10-02

Constructors

<init>

Creates a object based on the Firebase Firestore document

FavGymFirestore(userIds: ArrayList<String> = ArrayList(), count: Int = 0)

Properties

count

Int Number of people who favourited this gym

var count: Int

userIds

ArrayList List of users who favourited this gym

var userIds: ArrayList<String>