Library Use Case

Library Use Case

Created by: [Your Name]

1. Actors

  • Member

  • Librarian

  • Library System

2. Preconditions

  • The member is registered and has a valid library card.

  • The library system is operational.

3. Postconditions

  • The member borrows a book, and the system updates the book's status to 'borrowed'.

  • The member returns a book, and the system updates the book's status to 'available'.

4. Main Success Scenario

  1. Member searches for a book.

  2. System displays search results.

  3. Member selects a book to borrow.

  4. System checks the book's availability.

  5. If available, system records the borrowing details and updates the book's status to 'borrowed'.

  6. Member borrows the book.

5. Extensions

  1. If the book is not available:

    • System places the book on hold for the member.

    • System notifies the member when the book becomes available.

  2. If the member has overdue books:

    • System notifies the member of overdue books.

    • System may restrict further borrowing until the overdue books are returned.

6. Special Requirements

  • System must update in real-time.

  • Only registered members can borrow books.

  • Book borrowing limits apply depending on membership type.

7. Frequency of Use

Daily, as members frequently borrow and return books.

8. Assumptions

  • Members have access to the online catalog to search for books.

  • Librarians are available to assist with borrowing and returns during library hours.

9. Open Issues

  • Integration with upcoming e-book lending service.

  • Handling of damaged or lost books.

Use Case Templates @ Template.net