<?php

declare(strict_types=1);

namespace App\Administration\Application\Command\UpdateClass;

/**
 * Command pour modifier une classe scolaire existante.
 */
final readonly class UpdateClassCommand
{
    public function __construct(
        public string $classId,
        public ?string $name = null,
        public ?string $level = null,
        public ?int $capacity = null,
        public ?string $description = null,
        public bool $clearLevel = false,
        public bool $clearCapacity = false,
        public bool $clearDescription = false,
    ) {
    }
}
