Class UserFestivalContainer

java.lang.Object
org.localify.user.dto.UserCityFestivalContainer
org.localify.user.dto.UserFestivalContainer
All Implemented Interfaces:
Serializable

public class UserFestivalContainer extends UserCityFestivalContainer
Represents a user's festival.
See Also:
  • Constructor Details

    • UserFestivalContainer

      public UserFestivalContainer(UUID id, String name, Instant selectedAt, String spotifyPlaylist, String nickName, CityResponse city)
      Constructs a new UserFestivalContainer.
      Parameters:
      id - The ID of the festival.
      name - The name of the festival.
      selectedAt - The time the festival was selected.
      spotifyPlaylist - The Spotify playlist for the festival.
      nickName - The nickname of the festival.
      city - The city where the festival is located.
  • Method Details

    • getNickName

      public String getNickName()
      Gets the nickname of the festival.
      Returns:
      The nickname.
    • setNickName

      public void setNickName(String nickName)
      Sets the nickname of the festival.
      Parameters:
      nickName - The nickname.
    • getCity

      public CityResponse getCity()
      Gets the city where the festival is located.
      Returns:
      The city.
    • setCity

      public void setCity(CityResponse city)
      Sets the city where the festival is located.
      Parameters:
      city - The city.