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
-
Member searches for a book.
-
System displays search results.
-
Member selects a book to borrow.
-
System checks the book's availability.
-
If available, system records the borrowing details and updates the book's status to 'borrowed'.
-
Member borrows the book.
5. Extensions
-
If the book is not available:
-
System places the book on hold for the member.
-
System notifies the member when the book becomes available.
-
-
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.