Sketch out a class diagram (UML) for the candidate classes you list from the description provided. You should have AT LEAST ONE generalization relationship and AT LEAST ONE composition relationship:
The library system needs to modernize its existing system. The library materials are currently cataloged in a database, but media checkout is currently done by hand.
Within the system, library patrons should have the following abilities:
-
Sign up for a new library membership
-
Check out media using their membership card or number
-
Reserve media using their membership card or number
-
Reserve available meeting rooms
-
View their transaction history
-
View outstanding media that has been checked out
-
View outstanding media that has been reserved
-
View current fines on their account
-
Pay any fine balance
Additionally, library staffers should have the ability to do the following:
-
View library member's information (including fines, reservations, meeting rooms, and checked-out materials)
-
View the checkout/reservation history of any item in the media catalog
-
Approve meeting room reservation requests
-
Accept payments for member fines
-
Add and Edit materials in the catalog