Class UserMapperImpl

java.lang.Object
com.alpaca.mapper.impl.UserMapperImpl
All Implemented Interfaces:
GenericMapper<User,UserResponseDTO,UserRequestDTO>, IUserMapper

@Component public class UserMapperImpl extends Object implements IUserMapper
Implementation of the IUserMapper interface responsible for mapping between User entities and their corresponding request and response DTOs.

This mapper delegates nested object transformations to other mappers:

Additionally, it uses the IRoleService to retrieve role entities based on IDs provided in the request DTO.

Key responsibilities:

This class is annotated with Component to enable Spring's dependency injection and uses Lombok's RequiredArgsConstructor for constructor-based injection (if required in future).

See Also: