Class UserEntityMapper
java.lang.Object
es.kukenan.smartfi.microservice.clients.service.mapper.UserEntityMapper
User entity mapper.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiones.kukenan.smartfi.microservice.clients.dto.UserDtogetPersonalData(User user) Map the givenUsers to aUserDtos.es.kukenan.smartfi.microservice.clients.dto.UserDtoMap the givenUsers to aUserDtos.List<es.kukenan.smartfi.microservice.clients.dto.UserDto>Map the given list ofUsers to a list ofUserDtos.
-
Constructor Details
-
UserEntityMapper
public UserEntityMapper()
-
-
Method Details
-
toDto
Map the given list ofUsers to a list ofUserDtos.- Parameters:
users- the list ofUser.- Returns:
- the mapped list of
UserDtos.
-
toDto
Map the givenUsers to aUserDtos.- Parameters:
user- theUser.- Returns:
- the mapped
UserDtos.
-
getPersonalData
Map the givenUsers to aUserDtos.- Parameters:
user- theUser.- Returns:
- the mapped
UserDtos.
-