Spring Boot Masterclass – Create an entity class for Expense 05

Hello, in this post we will create an entity class for Expense. let’s begin. Create a class Expense under src/main/java/in/bushansirgur/expenseyoutube/model package

We will use Lombok annotations @Setter, @Getter to override the setters and getters and @ToString to override the toString() method.

Expense.java




Thanks
Bushan SC

Leave a Reply

Your email address will not be published. Required fields are marked *