package com.jwipc.supplier.convert;

import com.jwipc.supplier.dto.SupplierChangeAttachmentBaseDTO;
import com.jwipc.supplier.entity.SupplierChangeAttachment;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface SupplierChangeAttachmentConvert {
    List<SupplierChangeAttachment> dtos2Entities(List<SupplierChangeAttachmentBaseDTO> files);

    List<SupplierChangeAttachmentBaseDTO> entities2Dtos(List<SupplierChangeAttachment> list);
}
