Class DtoMapper
java.lang.Object
springboot.bg.harisauto.web.mapper.DtoMapper
DtoMapper.java - Utility class for mapping between entities and DTOs.
- Author:
- Kristian Popov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangeProfileInfoRequestMaps a User entity to an EditProfileRequest DTO.
-
Constructor Details
-
DtoMapper
public DtoMapper()
-
-
Method Details
-
fromUser
Maps a User entity to an EditProfileRequest DTO.- Parameters:
user- User entity- Returns:
- EditProfileRequest DTO
-