java.lang.Object
es.kukenan.smartfi.microservice.onboarding.service.mapper.UserDocumentMapper

@Component public class UserDocumentMapper extends Object
UserDocument entity mapper.
  • Constructor Details

    • UserDocumentMapper

      public UserDocumentMapper()
  • Method Details

    • toDto

      public static es.kukenan.smartfi.dto.backoffice.user.UserDocumentDTO toDto(List<UserDocument> documents)
      Map the given list of UserDocuments to a list of UserDocumentDTOs.
      Parameters:
      documents - the list of UserDocument.
      Returns:
      the mapped list of UserDocumentDTOs.
    • toDto

      public static es.kukenan.smartfi.dto.backoffice.user.UserDocumentDTO toDto(UserDocument document)
      Map the given UserDocuments to a UserDocumentDTOs.
      Parameters:
      document - the UserDocument.
      Returns:
      the mapped UserDocumentDTOs.