package cloud.cluster.sim.requestsimulator.dao;

import cloud.cluster.sim.requestsimulator.dto.SimulationStatistics;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * Define operations on SimulationStatistics
 */
public interface SimulationStatisticsOperations extends MongoRepository<SimulationStatistics, String> {
}

package cloud.cluster.sim.requestsimulator.dao;

import cloud.cluster.sim.requestsimulator.dto.SimulationStatistics;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Component;

/**
 * Define operations on SimulationStatistics
 */
@Component
public interface SimulationStatisticsOperations extends MongoRepository<SimulationStatistics, String> {
}

Add component annotation in order to be able to auto wire component.
Add component annotation in order to be able to auto wire component.
