package com.jwipc.tender.convert;

import com.jwipc.tender.dto.*;
import com.jwipc.tender.entity.TenderBid;
import com.jwipc.tender.model.po.TenderBidListPO;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface TenderBidConvert {
    List<TenderBid> dtos2Entities(List<TenderBidBaseDTO> bidSupplierDtos);

    List<BidConfirmJoinListDTO> pos2Dtos(List<TenderBidListPO> bidListPOS);

    List<TenderBidBaseDTO> entities2Dtos(List<TenderBid> list);

    List<BidSecurityDepositListDTO> pos2Dtos1(List<TenderBidListPO> listPOS);

    List<ToBeQuotedListDTO> pos2Dtos2(List<TenderBidListPO> tenderBidListPOS);

    TenderBidBaseDTO entity2Dto(TenderBid tenderBid);

    TenderBid dto2Entity(TenderBidBaseDTO bid);

    List<BidHistoryListDTO> pos2Dtos3(List<TenderBidListPO> bidListPOS);

    List<TenderSupplierDTO> entities2Dtos1(List<TenderBid> list);

    List<TenderBid> dtos2Entities1(List<TenderSupplierDTO> bidSupplierDtos);
}
