sanger96 / Happenings_Team-5_UTD_Senior_Design_Project

UTD Senior Design Project; Group Members: Gaurav Sanger, Jonathan Lam, Robert Dohm, Landin Kasti, Charles Eaton
3 stars 0 forks source link

Event Class #29

Closed LKASTI closed 5 months ago

LKASTI commented 6 months ago

Creating the class for a Event. An Event class has a relationship with an Appointment, and Club. Association annotations must be used when implementing this class (See this Spring-boot Resources tab in Discord for understanding relationship implementations)

LKASTI commented 6 months ago

Created entity file with relationship annotations. Need Club class implementation to fully test.

LKASTI commented 6 months ago

Created Event class Entity.

Notes The ManyToMany Attends relationship could be Bidirectional since an Event page will want to display the number of people attending and a User page might want to display all the events they are attending (or at least the number of events). This will need to be discussed with backend team members.

Resource: JPA Relationships