<?php

declare(strict_types=1);

namespace App\Administration\Domain\Repository;

use App\Administration\Domain\Model\Import\ImportBatchId;
use App\Administration\Domain\Model\Import\TeacherImportBatch;
use App\Shared\Domain\Tenant\TenantId;

interface TeacherImportBatchRepository
{
    public function save(TeacherImportBatch $batch): void;

    public function get(ImportBatchId $id): TeacherImportBatch;

    public function findById(ImportBatchId $id): ?TeacherImportBatch;

    /**
     * @return list<TeacherImportBatch>
     */
    public function findByTenant(TenantId $tenantId): array;
}
