Interface IExperienceMapper


public interface IExperienceMapper
Mapper class for mapping Experience entities to ExperienceDTOs.
  • Method Summary

    Modifier and Type
    Method
    Description
    toExperienceDTO(callofproject.dev.repository.authentication.entity.Experience experience)
    Maps an Experience entity to an ExperienceDTO.
    Maps a list of Experience entities to an ExperiencesDTO.
  • Method Details

    • toExperienceDTO

      ExperienceDTO toExperienceDTO(callofproject.dev.repository.authentication.entity.Experience experience)
      Maps an Experience entity to an ExperienceDTO.
      Parameters:
      experience - The Experience entity to be mapped.
      Returns:
      An ExperienceDTO representing the mapped Experience entity.
    • toExperiencesDTO

      default ExperiencesDTO toExperiencesDTO(List<ExperienceDTO> experiences)
      Maps a list of Experience entities to an ExperiencesDTO.
      Parameters:
      experiences - The list of Experience entities to be mapped.
      Returns:
      An ExperiencesDTO representing the mapped list of Experience entities.