Package com.alpaca.mapper
Interface IPermissionMapper
- All Superinterfaces:
GenericMapper<Permission,
PermissionResponseDTO, PermissionRequestDTO>
- All Known Implementing Classes:
PermissionMapperImpl
public interface IPermissionMapper
extends GenericMapper<Permission,PermissionResponseDTO,PermissionRequestDTO>
Mapper interface for converting between
Permission
entities and their corresponding
request and response DTOs.
Extends the generic GenericMapper
, inheriting methods for:
- Turning a
Permission
entity into aPermissionResponseDTO
. - Creating a
Permission
entity from aPermissionRequestDTO
. - 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