Package com.alpaca.mapper
Interface IUserMapper
- All Superinterfaces:
GenericMapper<User,UserResponseDTO, UserRequestDTO>
- All Known Implementing Classes:
UserMapperImpl
Mapper interface for converting between
User entities and their corresponding request and
response DTOs.
Extends the generic GenericMapper, inheriting methods for:
- Turning a
Userentity into aUserResponseDTO. - Creating a
Userentity from aUserRequestDTO. - Converting collections of entities into lists of response DTOs.
- Handling paginated entity-to-DTO transformations while preserving pagination metadata.
- See Also:
-
Method Summary
Methods inherited from interface com.alpaca.mapper.GenericMapper
toEntity, toListResponseDTO, toPageResponseDTO, toResponseDTO