title: Converting entity to dto in java
body: <p>It is taking lot of time in converting entity to dto.
  Because entity have many relations.so the child tables data is being assigned to dto properties.
  Is there any best way to do this..
  I have gone through model mapper also ..but model mapper maps direct entity to dto properties.it cannot map the child tables data to dto.</p>