Class UserRecentVenueView

java.lang.Object
org.localify.user.support.UserRecentVenueView

@Entity public class UserRecentVenueView extends Object
Represents a recent venue view by a user.
  • Constructor Details

    • UserRecentVenueView

      protected UserRecentVenueView()
      Default constructor.
    • UserRecentVenueView

      public UserRecentVenueView(User user, Venue venue)
      Creates a new user recent venue view.
      Parameters:
      user - The user.
      venue - The venue.
  • Method Details

    • getKey

      public UserRecentVenueView.Key getKey()
      Gets the key.
      Returns:
      The key.
    • setKey

      public void setKey(UserRecentVenueView.Key key)
      Sets the key.
      Parameters:
      key - The key.
    • getUser

      public User getUser()
      Gets the user.
      Returns:
      The user.
    • setUser

      public void setUser(User user)
      Sets the user.
      Parameters:
      user - The user.
    • getCreatedAt

      public Instant getCreatedAt()
      Gets the creation timestamp.
      Returns:
      The creation timestamp.
    • setCreatedAt

      public void setCreatedAt(Instant createdAt)
      Sets the creation timestamp.
      Parameters:
      createdAt - The creation timestamp.
    • getVenue

      public Venue getVenue()
      Gets the venue.
      Returns:
      The venue.
    • setVenue

      public void setVenue(Venue venue)
      Sets the venue.
      Parameters:
      venue - The venue.
    • getUpdatedAt

      public Instant getUpdatedAt()
      Gets the last update timestamp.
      Returns:
      The last update timestamp.
    • setUpdatedAt

      public void setUpdatedAt(Instant updatedAt)
      Sets the last update timestamp.
      Parameters:
      updatedAt - The last update timestamp.