DtoConvertible
The DTOConvertible interface allows to convert a complete entity object into the related Data Transfer Object
Usage
Entity Class Example
Related DTO Example
Implementation
Make implement to the entity class the DTOConvertible annotation to override the convertToRelatedDTO method for the
mapping conversion
Conversion
Invoke the convertToRelatedDTO method to obtain the DTO object