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 Details

    • INSTANCE

      static final UserConfigMapper INSTANCE
      Implementation instance of the mapper
  • Method Details

    • toDTO

      UserConfigDTO toDTO(UserConfig userConfig)
      Maps to DTO from userConfig entity
      Parameters:
      userConfig - UserConfig entity
      Returns:
      Mapped DTO
    • toEntity

      UserConfig toEntity(UserConfigDTO request)
      Maps to entity from UserConfig DTO
      Parameters:
      request - UserConfig DTO
      Returns:
      Mapped entity