package cd.casic.ci.process.process.converter;

import cd.casic.ci.process.dto.resp.aflCrashesAnalyzer.AflCrashesAnalyzerListResp;
import cd.casic.ci.process.process.dataObject.aflCrashAnalyzer.AflCrashesAnalyzerInfo;
import org.mapstruct.Mapper;
import org.mapstruct.NullValuePropertyMappingStrategy;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper(componentModel = "spring",nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE)
public interface AflCrashesAnalyzerConverter {
    AflCrashesAnalyzerConverter INSTANCE = Mappers.getMapper(AflCrashesAnalyzerConverter.class);
    AflCrashesAnalyzerListResp converter(AflCrashesAnalyzerInfo info);
    List<AflCrashesAnalyzerListResp> converter(List<AflCrashesAnalyzerInfo> info);
}
