package com.jwipc.supplier.convert;

import com.jwipc.supplier.dto.SupplierBankDTO;
import com.jwipc.supplier.entity.SupplierBank;
import com.jwipc.supplier.entity.SupplierBankInfo;
import com.jwipc.supplier.model.po.SupplierBankSendPO;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface SupplierBankConvert {
    List<SupplierBank> dtos2Entities(List<SupplierBankDTO> bankList);

    List<SupplierBankDTO> entities2DTOs(List<SupplierBank> list);

    List<SupplierBankInfo> bank2SupplierBank(List<SupplierBank> bankList);

    List<SupplierBankInfo> bank2SupplierBanks(List<SupplierBankSendPO> bankList);


}
