Interface UserConfigMapper
public interface UserConfigMapper
Mapper interface for converting back and forth
from a DTO to a UserConfig entity.
- Since:
- 19.4.24
- Version:
- 1.0
- Author:
- Yasin M.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UserConfigMapper
Implementation instance of the mapper -
Method Summary
Modifier and TypeMethodDescriptiontoDTO
(UserConfig userConfig) Maps to DTO from userConfig entitytoEntity
(UserConfigDTO request) Maps to entity from UserConfig DTO
-
Field Details
-
INSTANCE
Implementation instance of the mapper
-
-
Method Details
-
toDTO
Maps to DTO from userConfig entity- Parameters:
userConfig
- UserConfig entity- Returns:
- Mapped DTO
-
toEntity
Maps to entity from UserConfig DTO- Parameters:
request
- UserConfig DTO- Returns:
- Mapped entity
-