fssa-batch3 / fssa-batch3/sec_a_kishor.muruganandham__corejava_project_2

Borrow Module | List Borrow Feature

Open
#13 0 comments 0 reactions 1 assignee Claimed by @kishor-repo View on GitHub
borrow-module enhancement
Dominant language
Java
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Description

# List Borrow Process

### User Story
As a librarian, I want to be able to view a list of all the borrowed books from the library's collection. The system should provide me with a list that includes details such as the book titles, borrowers' information, borrow dates, and due dates. This way, I can easily monitor and manage the books that have been borrowed by users.

### Task

- [x] Implement Data Access Object (DAO) Layer.
- [x] Implement Service Layer.
- [x] Create JUnit Test Cases.
- [x] Ensure that the tests cases are passing.
- [x] Write clear and concise comments in the code to explain complex logic.

#### DAO
- getAllBorrows()

#### Service
- getAllBorrows()

#### Junit Test
- testGetAllBorrows()

### Estimation
- 1 hour

# Flowchart

```mermaid
graph TD
A[[Start]] --> B(Librarian Initiates List of Borrows)
B --> C[(Fetch List of Borrows)]
C --> |Borrows Available| D([Display List of Borrows])
C --> |No Borrows Found| E{{Service Exception}}
E --> G([Failed to get Borrow List])
D --> F[[End]]
G --> F

style D fill:#dfd,stroke:#333
style G fill:#fdd,stroke:#333

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.