package com.jwipc.sys.convert;

import com.jwipc.sys.dto.PurchaseGroupFactoryExportDTO;
import com.jwipc.sys.dto.PurchaseGroupFactoryImportDTO;
import com.jwipc.sys.dto.PurchaseGroupFactoryListDTO;
import com.jwipc.sys.entity.PurchaseGroupFactory;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface PurchaseGroupFactoryConvert {
    List<PurchaseGroupFactoryListDTO> entites2ListDTOs(List<PurchaseGroupFactory> list);

    List<PurchaseGroupFactory> importDTOs2Entites(List<PurchaseGroupFactoryImportDTO> cachedDataList);

    List<PurchaseGroupFactoryExportDTO> entites2ExportDTOs(List<PurchaseGroupFactory> list);
}
