package com.jwipc.spe.convert;

import com.jwipc.spe.dto.AppraiseSupplierInfoDTO;
import com.jwipc.spe.dto.RectifiedSupplierDTO;
import com.jwipc.spe.dto.SupAppraisePlanSupplierBaseDTO;
import com.jwipc.spe.entity.SupAppraisePlanSupplier;
import com.jwipc.spe.model.po.AppraiseSupplierInfoPO;
import com.jwipc.spe.model.po.RectifiedSupplierPO;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface SupAppraisePlanSupplierConvert {
    List<SupAppraisePlanSupplierBaseDTO> entities2Dtos(List<SupAppraisePlanSupplier> list);

    SupAppraisePlanSupplierBaseDTO entity2Dto(SupAppraisePlanSupplier planSupplier);

    List<RectifiedSupplierDTO> convert1(List<RectifiedSupplierPO> list);

    List<AppraiseSupplierInfoDTO> po2toDtos(List<AppraiseSupplierInfoPO> result);
}
