package com.eactive.testmaster.queue.mapper;

import com.eactive.testmaster.common.mapper.CommonMapper;
import com.eactive.testmaster.queue.dto.QueueHandlerDTO;
import com.eactive.testmaster.queue.entity.QueueHandler;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.springframework.stereotype.Component;

@Mapper(componentModel = "spring",
    uses = {CommonMapper.class},
    unmappedTargetPolicy = ReportingPolicy.IGNORE)
@Component
public abstract class QueueHandlerMapper {

    public abstract QueueHandler map(QueueHandlerDTO queue);

    public abstract QueueHandlerDTO map(QueueHandler queue);

}
