<?php

declare(strict_types=1);

namespace App\Administration\Application\Query\GetAllAssignments;

use DateTimeImmutable;

final readonly class AssignmentWithNamesDto
{
    public function __construct(
        public string $id,
        public string $teacherId,
        public string $teacherFirstName,
        public string $teacherLastName,
        public string $classId,
        public string $className,
        public string $subjectId,
        public string $subjectName,
        public string $academicYearId,
        public string $status,
        public DateTimeImmutable $startDate,
        public ?DateTimeImmutable $endDate,
        public DateTimeImmutable $createdAt,
    ) {
    }
}
