package com.jwipc.supplier.convert;

import com.jwipc.supplier.dto.SupplierContactsVersionCompareDTO;
import com.jwipc.supplier.entity.SupplierContacts;
import com.jwipc.supplier.entity.SupplierContactsVersionWhole;
import com.jwipc.supplier.model.po.SupplierContactsVersionComparePO;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface SupplierContactsVersionWholeConvert {
    List<SupplierContactsVersionCompareDTO> pos2Dtos(List<SupplierContactsVersionComparePO> supplierContactsVersionComparePOS);
    List<SupplierContacts> toMasterEntity(List<SupplierContactsVersionWhole> addOrUpdate);
}
