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

import cd.casic.ci.process.dto.resp.localAflCrashes.LocalAflCrashesResp;
import cd.casic.ci.process.process.dataObject.localAflCrashes.LocalAflCrashesInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author HopeLi
 * @version v1.0
 * @ClassName PipelineConverter
 * @Date: 2025/5/13 14:39
 * @Description:
 */
@Mapper(componentModel = "spring")
public interface LocalAflCrashesConverter {
    LocalAflCrashesConverter INSTANCE = Mappers.getMapper(LocalAflCrashesConverter.class);

    List<LocalAflCrashesResp> toRespList(List<LocalAflCrashesInfo> records);
}
