Draw the “Class Diagram” for IU library.
An IU library has books, journals, and newspaper. These are the library items. All library material has an id_number and a title. Among all the materials, only books can be loaned to the IU students and staffs. Staff can borrow journals for their research. When a user’s (staff and students) borrows books, the librarian must scanned the card of IU users and record the borrower’s ID, loan date and return date. For users, the library maintains their name, ID and phone number. Each user has library card.
Draw a class diagram for the description above. Make sure to show attributes, multiplicities and relationship, where appropriate.