Package org.localify.user.support
Class UserFavoriteVenue
java.lang.Object
org.localify.user.support.UserFavoriteVenue
Represents a user's favorite venue.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents the composite key for a user favorite venue. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.UserFavoriteVenue(User user, Venue venue) Creates a new user favorite venue. -
Method Summary
Modifier and TypeMethodDescriptionGets the creation timestamp.getKey()Gets the key.getUser()Gets the user.getVenue()Gets the venue.voidsetCreatedAt(Instant createdAt) Sets the creation timestamp.voidSets the key.voidSets the user.voidSets the venue.
-
Constructor Details
-
UserFavoriteVenue
public UserFavoriteVenue()Default constructor. -
UserFavoriteVenue
Creates a new user favorite venue.- Parameters:
user- The user.venue- The venue.
-
-
Method Details
-
getKey
Gets the key.- Returns:
- The key.
-
setKey
Sets the key.- Parameters:
key- The key.
-
getUser
Gets the user.- Returns:
- The user.
-
setUser
Sets the user.- Parameters:
user- The user.
-
getVenue
Gets the venue.- Returns:
- The venue.
-
setVenue
Sets the venue.- Parameters:
venue- The venue.
-
getCreatedAt
Gets the creation timestamp.- Returns:
- The creation timestamp.
-
setCreatedAt
Sets the creation timestamp.- Parameters:
createdAt- The creation timestamp.
-