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

FavBuddyRecord

open class FavBuddyRecord

FavBuddyRecord is data structure to store user's favoured buddies as list used with FirebaseFirestore to keep track favoured record of user

Author
Chia Yu

Since
2019-10-05

Constructors

<init>

default constructor

FavBuddyRecord()

alternate constructor

FavBuddyRecord(buddyList: MutableList<String!>!)

Properties

buddiesId

List of user id, these ids will be used to denoted favoured buddies in the application

var buddiesId: MutableList<String!>!

Functions

getBuddiesId

getter method for #buddiesId

open fun getBuddiesId(): MutableList<Any?>!

setBuddiesId

setter method for #buddiesId

open fun setBuddiesId(buddyList: MutableList<String!>!): Unit