package ru.micord.ervu.account_applications.service;

import java.util.Map;

import ru.micord.ervu.account_applications.component.model.dto.SearchRequest;
import ru.micord.ervu.account_applications.component.model.dto.SearchResponse;

/**
 * @author Adel Kalimullin
 */
public interface EntityFetchService<T> {
  Map<String, Object> fetchDataById(Object id);

  SearchResponse<T> fetchByFilter(SearchRequest request);
}
