Sei sulla pagina 1di 1

System

Libarian
1: Select "Record Book Loan"

1.1: Enter member ID message

2: Enter member ID

alt
[member ID not valid]
2.1: Member ID not valid message

alt

[has unpaid fine]


2.2: "Want to pay fine?" messege

3: Enter answer

alt

[answer == NO]
3.1: "Cannot proceed" message

ref

alt

[total loan == max limit]


3.2: "Cannot borrow more books" message

loop 3.3: Enter Book ID message


[more books]
4: Enter Book ID

alt

[Book ID not valid]


4.1: Invalid book ID message

alt

[Book not available] 4.2: Book not available message

4.3: Loan is recorded message

break

[total loan == max limit]

4.4: Cannot borrow more books message

5: End transaction

5.1: Receipt

Powered ByVisual Paradigm Community Edition