package de.cannamanage.service.repository;

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

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

public interface GrowPhotoRepository extends JpaRepository<GrowPhoto, UUID> {
    List<GrowPhoto> findByGrowEntryIdOrderByTakenAtDesc(UUID growEntryId);
}
