package com.r11.tools.repository;

import com.r11.tools.model.Event;
import com.r11.tools.utilis.BusinessKey;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

/**
 * Event entity dao interface
 * @author Rafał Żukowicz
 */
@Repository
@Transactional
public interface EventRepository {
    List<Event> findEvents(LocalDateTime localDateTimeFrom, LocalDateTime localDateTimeTo,
                           Map<BusinessKey, String> businessKeys);
}
