package com.example.dateplanner.repositories;

import com.example.dateplanner.models.entities.Court;
import org.springframework.data.repository.reactive.ReactiveCrudRepository;
import org.springframework.stereotype.Repository;
import reactor.core.publisher.Flux;

import java.util.UUID;

@Repository
public interface CourtRepository extends ReactiveCrudRepository<Court, UUID> {
    Flux<Court> findByClubUuid(UUID clubUuid);
}
