package com.jwipc.inquiry.convert;

import com.jwipc.inquiry.dto.InquiryMaterialSupplierDTO;
import com.jwipc.inquiry.dto.InquirySupplierDTO;
import com.jwipc.inquiry.dto.InquirySupplierQuoteDTO;
import com.jwipc.inquiry.dto.InquirySupplierQuoteParamDTO;
import com.jwipc.inquiry.entity.InquiryMaterialSupplier;
import com.jwipc.inquiry.entity.InquirySupplier;
import com.jwipc.inquiry.model.po.InquiryMaterialSupplierPO;
import com.jwipc.inquiry.model.po.InquirySupplierPO;
import com.jwipc.inquiry.model.po.InquirySupplierQuotePO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/2/4 19:47
 * @desc
 */
@Mapper(componentModel = "spring")
public interface InquirySupplierConvert {
    List<InquirySupplierQuoteDTO> po2DTOList(List<InquirySupplierQuotePO> inquirySupplierPOS);

    InquirySupplierDTO Entity2DTO(InquirySupplier inquirySupplier);

    InquirySupplier paramDTO2Entity(InquirySupplierQuoteParamDTO param);

    List<InquirySupplierDTO> Entity2DTOList(List<InquirySupplier> inquirySuppliers);

    List<InquirySupplierDTO> po2DTOList2(List<InquirySupplierPO> inquirySuppliers);
}
