<?php

declare(strict_types=1);

namespace App\Scolarite\Application\Command\DesignateReplacement;

final readonly class DesignateReplacementCommand
{
    /**
     * @param array<array{classId: string, subjectId: string}> $classes
     */
    public function __construct(
        public string $tenantId,
        public string $replacedTeacherId,
        public string $replacementTeacherId,
        public string $startDate,
        public string $endDate,
        public array $classes,
        public ?string $reason,
        public string $createdBy,
    ) {
    }
}
