19 lines
365 B
PHP
19 lines
365 B
PHP
<?php
|
|
|
|
namespace App\Schedule;
|
|
|
|
use DateTimeImmutable;
|
|
|
|
final readonly class CreateScheduleAssignmentDto
|
|
{
|
|
/**
|
|
* @param list<string> $path
|
|
*/
|
|
public function __construct(
|
|
public string $name,
|
|
public string $kind,
|
|
public array $path,
|
|
public DateTimeImmutable $scheduledDate,
|
|
public int $position,
|
|
) {}
|
|
}
|