Create a Sequence model (Application layer) for the following “Borrow Books” Use case for Students with a Valid ID and No Overdue Books or Fines from the Use-Case Description:
Normal Flow of Events:
1. The Borrower brings books to the Librarian at the checkout desk.
2. The Borrower provides Librarian their ID card.
3. The Librarian checks the validity of the ID Card.
If the Borrower is a Student Borrower, Validate ID Card against Registrar’s DB.
If the Borrower is a Faculty/Staff Borrower, Validate ID Card against Personnel DB.
If the Borrower is a Guest Borrower, Validate ID Card against Library’s Guest DB.
4. The Librarian checks whether the Borrower has any overdue books and/or fines.
5. The Borrower checks out the books.
Alternate/Exceptional Flows:
4a. The ID Card is invalid, the book request is rejected.
5a. The Borrower either has overdue books, fines, or both, the book request is rejected.