Update Lib.json
Browse files
Lib.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
[
|
4 |
{
|
5 |
-
"
|
6 |
-
"
|
7 |
}
|
8 |
]
|
|
|
2 |
|
3 |
[
|
4 |
{
|
5 |
+
"input": "A librarian and a member interact with a library management system. The librarian can add, issue, categorize, and remove books, manage inventory, and review book requests. The member can search, borrow, return, reserve, renew books, and inquire about availability.",
|
6 |
+
"output": "actor: Librarian (A1), Member (A2) ; action: Add a new book (UC1), Search for books (UC2), Borrow a book (UC3), Remove a book (UC4), Return a borrowed book (UC5), Issue a new book (UC6), Renew a borrowed book (UC7), Categorize books (UC8), Reserve a book (UC9), Manage inventory (UC10), Inquire about book availability (UC11), Review book requests (UC12) ; relationships: Librarian (A1) β Add a new book (UC1) β Association, Member (A2) β Search for books (UC2) β Association, Member (A2) β Borrow a book (UC3) β Association, Librarian (A1) β Remove a book (UC4) β Association, Member (A2) β Return a borrowed book (UC5) β Association, Librarian (A1) β Issue a new book (UC6) β Association, Member (A2) β Renew a borrowed book (UC7) β Association, Librarian (A1) β Categorize books (UC8) β Association, Member (A2) β Reserve a book (UC9) β Association, Extends Borrow a book (UC3), Librarian (A1) β Manage inventory (UC10) β Association, Includes Add a new book (UC1) & Remove a book (UC4), Member (A2) β Inquire about book availability (UC11) β Association, Librarian (A1) β Review book requests (UC12) β Association ; plantuml:\n@startuml\nactor \"Librarian\" as A1\nactor \"Member\" as A2\n\nusecase \"Add a new book\" as UC1\nusecase \"Search for books\" as UC2\nusecase \"Borrow a book\" as UC3\nusecase \"Remove a book\" as UC4\nusecase \"Return a borrowed book\" as UC5\nusecase \"Issue a new book\" as UC6\nusecase \"Renew a borrowed book\" as UC7\nusecase \"Categorize books\" as UC8\nusecase \"Reserve a book\" as UC9\nusecase \"Manage inventory\" as UC10\nusecase \"Inquire about book availability\" as UC11\nusecase \"Review book requests\" as UC12\n\nA1 -- UC1\nA2 -- UC2\nA2 -- UC3\nA1 -- UC4\nA2 -- UC5\nA1 -- UC6\nA2 -- UC7\nA1 -- UC8\nA2 -- UC9\nA1 -- UC10\nA2 -- UC11\nA1 -- UC12\n\nUC10 ..> UC1 : <<include>>\nUC10 ..> UC4 : <<include>>\nUC9 ..> UC3 : <<extend>>\n@enduml ; class: LibrarySystem, Book, Member, Librarian, Inventory, Transaction ; methods: LibrarySystem: addBook, removeBook, searchBooks, registerMember ; Book: isAvailable, borrow, returnBook ; Member: borrowBook, returnBook, reserveBook, renewBook ; Librarian: issueBook, categorizeBook, manageInventory, reviewBookRequests ; Inventory: checkInventory, updateInventory ; Transaction: processTransaction, refundTransaction"
|
7 |
}
|
8 |
]
|