Interface EntityToDtoMapper<D,E>
- Type Parameters:
D- The class of the DTO.E- The class of the entity.
- All Known Implementing Classes:
ConditionalOperatorMapper,LogicalOperatorMapper,OperatorMapper
public interface EntityToDtoMapper<D,E>
Interface that defines the contract for mapping between entities and DTOs.
-
Method Summary
-
Method Details
-
getDto
Maps an entity to a DTO.- Parameters:
entity- The entity to be mapped.- Returns:
- The DTO mapped from the entity.
-