Skip to content

Commit

Permalink
feat: Find agendamento
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeriolino committed Oct 25, 2024
1 parent 49fcb11 commit 9cd2461
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Repository/AgendamentoRepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@

namespace Novosga\Repository;

use DateTimeInterface;
use Doctrine\Persistence\ObjectRepository;
use Novosga\Entity\AgendamentoInterface;
use Novosga\Entity\ServicoInterface;
use Novosga\Entity\UnidadeInterface;

/**
* AgendamentoRepositoryInterface
Expand All @@ -25,4 +28,10 @@
*/
interface AgendamentoRepositoryInterface extends ObjectRepository, BaseRepository
{
/** @return AgendamentoInterface[] */
public function findByUnidadeAndServicoAndData(
UnidadeInterface|int $unidade,
ServicoInterface|int $servico,
DateTimeInterface $data,
): array;
}

0 comments on commit 9cd2461

Please sign in to comment.