27 lines
724 B
PHP
27 lines
724 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\BusProNet\Model;
|
|
|
|
/**
|
|
* Extended availability details for one service from VERFUEGBARKEIT2.
|
|
*
|
|
* This model augments classic availability with optional timing/date/description
|
|
* fields used to enrich persisted travel snapshots.
|
|
*/
|
|
class ExtendedAvailability
|
|
{
|
|
public ?int $serviceId = null;
|
|
public ?string $status = null;
|
|
public ?int $available = null;
|
|
public ?float $price = null;
|
|
public ?\DateTimeImmutable $dateFrom = null;
|
|
public ?\DateTimeImmutable $dateTo = null;
|
|
public ?string $timeFrom = null;
|
|
public ?string $description = null;
|
|
public ?int $ageFrom = null;
|
|
public ?int $ageTo = null;
|
|
public ?bool $mandatory = null;
|
|
}
|