public interface BadgeMapper
Mapper interface for converting back and forth from the Badge entity to its DTO's in addition to cascading updates from dto's onto the entity object from a DTO to the entity.
Since:
20.4.24
Version:
1.0
Author:
Yasin M.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final BadgeMapper
    Implementation instance of the interface
  • Method Summary

    Modifier and Type
    Method
    Description
    toDTO(Badge badge)
    Converts badge entity to a dto
  • Field Details

    • INSTANCE

      static final BadgeMapper INSTANCE
      Implementation instance of the interface
  • Method Details

    • toDTO

      BadgeDTO toDTO(Badge badge)
      Converts badge entity to a dto
      Parameters:
      badge - Badge entity
      Returns:
      Badge entity