Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a Library owner, I want to return a borrowed book to the system so other customers can borrow it. #35

Open
AsemLab opened this issue Sep 8, 2021 · 2 comments
Assignees
Milestone

Comments

@AsemLab
Copy link
Collaborator

AsemLab commented Sep 8, 2021

The use case description

Use case name: Return borrowed book

Brief description: Library owner return a borrowed book to the system.

Actor: Library owner

Preconditions: Customer borrowed a book.

Main flow:

  1. Customer returns the book.
  2. Library owner opens the borrowed books page
  3. Owner selects the book.
  4. Owner clicks return.
  5. System update the book status.

Postcondition: The book can be borrowed.

Alternatives: None

@AsemLab AsemLab added the Borrow label Sep 8, 2021
@AsemLab
Copy link
Collaborator Author

AsemLab commented Sep 8, 2021

The use case description

Use case name: Return borrowed book

Brief description: Library owner return a borrowed book to the system.

Actor: Library owner

Preconditions: Customer borrowed a book.

Main flow:

  1. Customer returns the book.
  2. Library owner opens the borrowed books page
  3. Owner selects the book.
  4. Owner clicks return.
  5. System update the book status.

Postcondition: The book can be borrowed.

Alternatives: None

@AsemLab
Copy link
Collaborator Author

AsemLab commented Sep 8, 2021

The required tables:

customers (id, email)
Libraries (id, books)
books (id)
library_owners (id, library_id)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants