Challenge: Fine Calculation System
Challenge yourself to implement a fine calculation system using Spring Data MongoDB.
We'll cover the following...
Implement a fine calculation system
Extend the existing library management system to include a fine calculation system on the book loans. We should be able to calculate the fine on the overdue book loans.
Tasks
In this challenge, complete the following tasks:
-
Add the
Boolean
available
property to theBook
document class. -
Add a method in the
BookRepository
...