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

import cd.casic.ci.process.dto.resp.report.ReportInfoResp;
import cd.casic.ci.process.process.dataObject.report.PipReportInfo;
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 PipReportInfoConverter {
    PipReportInfoConverter INSTANCE = Mappers.getMapper(PipReportInfoConverter.class);

    List<ReportInfoResp> toRespList(List<PipReportInfo> records);
}
