Class AdvertiserMapperImpl

java.lang.Object
com.alpaca.mapper.impl.AdvertiserMapperImpl
All Implemented Interfaces:
GenericMapper<Advertiser,AdvertiserResponseDTO,AdvertiserRequestDTO>, IAdvertiserMapper

@Component public class AdvertiserMapperImpl extends Object implements IAdvertiserMapper
Implementation of the IAdvertiserMapper interface, responsible for converting between Advertiser entities and their corresponding request and response DTOs.

This mapper relies on IUserService to resolve the associated User entity based on ID provided in the request DTO during conversion to an Advertiser entity.

Primary responsibilities:

The class is annotated with Component for Spring integration, and leverages Lombok's RequiredArgsConstructor for constructor-based dependency injection.

See Also: