package com.r11.tools.service;

import com.r11.tools.model.Event;
import com.r11.tools.model.EventRequestDto;
import java.util.List;
import org.springframework.stereotype.Service;

/**
 * Spring service interface for {@link com.r11.tools.controller.EventController}
 * @author Rafał Żukowicz
 */
@Service
public interface EtrackService {
    /**
     * Searches for {@link Event} objects between date brackets
     * @param eventsDto object containing required data for request
     * @return list of {@link Event}
     */
    List<Event> getEventsByDateTimeAndBusinessKeys(EventRequestDto eventsDto);
}
