Skip to content

POJO classes Setup which are made it into the db! #2

Description

@kiranraoboinapally

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions