<?php

declare(strict_types=1);

namespace App\Scolarite\Application\Command\CreateHomeworkWithException;

final readonly class CreateHomeworkWithExceptionCommand
{
    /**
     * @param string[] $ruleTypes Types de règles contournées (ex: ['minimum_delay'])
     */
    public function __construct(
        public string $tenantId,
        public string $classId,
        public string $subjectId,
        public string $teacherId,
        public string $title,
        public ?string $description,
        public string $dueDate,
        public string $justification,
        public array $ruleTypes,
    ) {
    }
}
