Package com.example.lottery.util
Class FirestorePaths
java.lang.Object
com.example.lottery.util.FirestorePaths
Centralizes all Firestore collection names and path builders to ensure
consistency across the application.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringeventComments(String eventId) Path: events/{eventId}/commentsstatic StringeventCoOrganizers(String eventId) Path: events/{eventId}/coOrganizersstatic StringPath: events/{eventId}static StringeventWaitingList(String eventId) Path: events/{eventId}/waitingListstatic StringnotificationDoc(String notificationId) Path: notifications/{notificationId}static StringnotificationRecipients(String notificationId) Path: notifications/{notificationId}/recipientsstatic StringPath: users/{userId}static StringPath: users/{userId}/inbox
-
Field Details
-
USERS
- See Also:
-
EVENTS
- See Also:
-
NOTIFICATIONS
- See Also:
-
INBOX
- See Also:
-
WAITING_LIST
- See Also:
-
CO_ORGANIZERS
- See Also:
-
RECIPIENTS
- See Also:
-
COMMENTS
- See Also:
-
-
Method Details
-
userDoc
Path: users/{userId} -
userInbox
Path: users/{userId}/inbox -
eventDoc
Path: events/{eventId} -
eventWaitingList
Path: events/{eventId}/waitingList -
eventCoOrganizers
Path: events/{eventId}/coOrganizers -
eventComments
Path: events/{eventId}/comments -
notificationDoc
Path: notifications/{notificationId} -
notificationRecipients
Path: notifications/{notificationId}/recipients
-