/relationship_demo

one to one uni directional, many to one and one to many bi directional and DTOs

Primary LanguageJava

1- Create a school

Screenshot 2024-04-05 at 11 27 57 PM

2- Create a student and pass schoold id

Screenshot 2024-04-05 at 11 28 07 PM

3- Create a report

Screenshot 2024-04-05 at 11 28 16 PM

4- Attach report to a student by passing report id

Screenshot 2024-04-05 at 11 28 25 PM

5- Create Coruse

Screenshot 2024-04-06 at 9 39 51 PM

6- Attach course with a student

Screenshot 2024-04-06 at 9 40 15 PM

7- Use all get APIs like below to check out the data being related with one another

Screenshot 2024-04-05 at 11 28 54 PM Screenshot 2024-04-05 at 11 29 09 PM Screenshot 2024-04-05 at 11 28 33 PM Screenshot 2024-04-06 at 9 40 38 PM Screenshot 2024-04-06 at 9 40 25 PM