Package com.example.breeze_seas
Class User
java.lang.Object
com.example.breeze_seas.User
Primary model for the users of the app.
Stores user data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.firebase.TimestampgetEmail()com.google.firebase.TimestampinthashCode()booleanisAdmin()booleanvoidsetAdmin(boolean admin) voidsetCreatedAt(com.google.firebase.Timestamp createdAt) voidsetDeviceId(String deviceId) voidvoidsetFirstName(String firstName) voidsetImageDocId(String imageDocId) voidsetLastName(String lastName) voidsetNotificationEnabled(boolean notificationEnabled) voidsetPhoneNumber(String phoneNumber) voidsetProfileImage(Image profileImage) voidsetUpdatedAt(com.google.firebase.Timestamp updatedAt) voidsetUserName(String userName)
-
Constructor Details
-
User
public User() -
User
-
User
-
-
Method Details
-
getFirstName
-
setFirstName
-
getLastName
-
setLastName
-
getUserName
-
setUserName
-
getEmail
-
setEmail
-
getDeviceId
-
setDeviceId
-
getPhoneNumber
-
setPhoneNumber
-
isAdmin
public boolean isAdmin() -
setAdmin
public void setAdmin(boolean admin) -
notificationEnabled
public boolean notificationEnabled() -
setNotificationEnabled
public void setNotificationEnabled(boolean notificationEnabled) -
getUpdatedAt
public com.google.firebase.Timestamp getUpdatedAt() -
setUpdatedAt
public void setUpdatedAt(com.google.firebase.Timestamp updatedAt) -
getCreatedAt
public com.google.firebase.Timestamp getCreatedAt() -
setCreatedAt
public void setCreatedAt(com.google.firebase.Timestamp createdAt) -
getImageDocId
-
setImageDocId
-
getProfileImage
-
setProfileImage
-
equals
-
hashCode
public int hashCode()
-