Created DTO classes (Java records to represent the data transfer objects of our entity classes)
Ommitted relational fields for the time being, as that'll require modifying the entities and specifying relationships, which we haven't quite finalized yet
Utilized DTOs in controllers & services instead of direct entities
Created mapper classes to map between DTOs<->Entities
Utilize their methods in the service layer, to convert as such:
record
s to represent the data transfer objects of our entity classes)