package de.cannamanage.service.repository;

import de.cannamanage.domain.entity.SensorReading;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.UUID;

public interface SensorReadingRepository extends JpaRepository<SensorReading, UUID> {
    List<SensorReading> findByGrowEntryIdOrderByRecordedAtDesc(UUID growEntryId);
}
