Package com.alpaca.mapper
Interface IRoleMapper
- All Superinterfaces:
GenericMapper<Role,
RoleResponseDTO, RoleRequestDTO>
- All Known Implementing Classes:
RoleMapperImpl
Mapper interface for converting between
Role
entities and their corresponding request and
response DTOs.
Extends the generic GenericMapper
, inheriting methods for:
- Turning a
Role
entity into aRoleResponseDTO
. - Creating a
Role
entity from aRoleRequestDTO
. - 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