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

    Modifier and Type
    Method
    Description
    getDto(E entity)
    Maps an entity to a DTO.
  • Method Details

    • getDto

      D getDto(E entity)
      Maps an entity to a DTO.
      Parameters:
      entity - The entity to be mapped.
      Returns:
      The DTO mapped from the entity.