package com.jwipc.supplier.convert;

import com.jwipc.supplier.dto.SupplierContactsDTO;
import com.jwipc.supplier.entity.SupplierContacts;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface SupplierContactsConvert {
    List<SupplierContacts> dtos2Entities(List<SupplierContactsDTO> contactsList);

    List<SupplierContactsDTO> entities2DTOs(List<SupplierContacts> supplierContacts);

    SupplierContactsDTO entity2DTO(SupplierContacts supplierContacts);
}
