Files
fewo-stommer/app/Channels/ExternalPeriod.php
T
2026-10-27 19:00:25 +01:00

21 lines
462 B
PHP

<?php
namespace App\Channels;
use Carbon\CarbonImmutable;
/**
* An occupation reported by a portal: nights from startsOn up to (excluding) endsOn.
*/
final readonly class ExternalPeriod
{
public function __construct(
public string $uid,
public CarbonImmutable $startsOn,
public CarbonImmutable $endsOn,
public ?string $summary = null,
public array $properties = [],
public ?string $raw = null,
) {}
}