### **Task 2: Create Entities (Models)** * **Objective**: Define the database entities (Group, Expense, User) using JPA. * Implement the `Group.java` class. * Implement the `Expense.java` class. * Implement the `User.java` class. **Task Details**: * **Group**: * Has `id`, `name`, and a `List<User>`. * **Expense**: * Has `id`, `description`, `amount`, `paidBy`, `splitType`, and `splits`. * **User**: * Has `id` and `name`. **Next Step**: Create the necessary table mappings using JPA annotations.
Task 2: Create Entities (Models)
Objective: Define the database entities (Group, Expense, User) using JPA.
Group.javaclass.Expense.javaclass.User.javaclass.Task Details:
Group:
id,name, and aList<User>.Expense:
id,description,amount,paidBy,splitType, andsplits.User:
idandname.Next Step: Create the necessary table mappings using JPA annotations.