package com.jwipc.inquiry.convert;

import com.jwipc.inquiry.dto.InquirySupplierCostQuoteDetailDTO;
import com.jwipc.inquiry.entity.InquirySupplierCostQuoteDetail;
import com.jwipc.inquiry.model.po.InquirySupplierCostQuoteDetailPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/2/23 14:10
 * @desc
 */
@Mapper(componentModel = "spring")
public interface InquirySupplierCostQuoteDetailConvert {
    List<InquirySupplierCostQuoteDetailDTO> po2DTOList(List<InquirySupplierCostQuoteDetailPO> inquirySupplierCostQuoteDetailPOS);

    List<InquirySupplierCostQuoteDetailDTO> entity2DTOList(List<InquirySupplierCostQuoteDetail> inquirySupplierCostQuoteDetails);

    List<InquirySupplierCostQuoteDetail> dto2EntityList(List<InquirySupplierCostQuoteDetailDTO> costQuoteList);
}
