Given the two excerpts below from the course project problem statement, create a class diagram for each of the two excerpts.
Be sure to:
-
Identify the classes involved.
-
Identify the associations between the classes.
-
Draw and name the associations.
-
Assign multiplicity to each end of each association.
-
Add constraints where needed to account for all the rules documented in the problem statement.
The event floor plan defines the layout for all the shows for the same event.
All the show seating charts for the same event must refer to the same event floor plan.
(Focus on the event floor plan and the show seating chart for now. In later lessons, we will add the events and shows.)
Customers may hold seats while they try to figure out which ones they want to purchase. This prevents more than one customer from
attempting to purchase a seat at the same time. Customers may also return the seats and get their money back.