Class ArtistEvent

java.lang.Object
org.localify.artist.join.ArtistEvent

@Entity public class ArtistEvent extends Object
Represents the join table between artists and events.
  • Constructor Details

    • ArtistEvent

      protected ArtistEvent()
      Default constructor for JPA.
    • ArtistEvent

      public ArtistEvent(Artist artist, Event event)
      Constructs a new ArtistEvent with the given artist and event.
      Parameters:
      artist - The artist.
      event - The event.
  • Method Details

    • getArtist

      public Artist getArtist()
      Gets the artist.
      Returns:
      The artist.
    • getEvent

      public Event getEvent()
      Gets the event.
      Returns:
      The event.