32 lines
586 B
PHP
32 lines
586 B
PHP
<?php
|
|
|
|
namespace App\Dto;
|
|
|
|
class ScheduleDayDto
|
|
{
|
|
public function __construct(
|
|
public string $schedident,
|
|
public string $rnum,
|
|
public string $dcode,
|
|
public int $filial,
|
|
public array $intervals,
|
|
public string $depnum,
|
|
public bool $isFree
|
|
) {}
|
|
}
|
|
|
|
class ScheduleIntervalDto
|
|
{
|
|
public function __construct(
|
|
public string $time,
|
|
public bool $isFree
|
|
) {}
|
|
}
|
|
|
|
class ScheduleResponseDto
|
|
{
|
|
public function __construct(
|
|
public array $schedule = [],
|
|
public array $nearestDate = []
|
|
) {}
|
|
} |