Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

801 B
Raw Blame
<?php

namespace HiEvents\Services\Application\Handlers\EventOccurrence\DTO;

use HiEvents\DataTransferObjects\BaseDataObject;
use HiEvents\Services\Domain\EventLocation\EventLocationData;

class UpsertEventOccurrenceDTO extends BaseDataObject
{
    public function __construct(
        public readonly int $event_id,
        public readonly string $start_date,
        public readonly ?string $end_date = null,
        public readonly ?int $capacity = null,
        public readonly ?string $label = null,
        public readonly ?bool $show_available_capacity = null,
        public readonly bool $is_overridden = false,
        public readonly ?int $id = null,
        public readonly ?EventLocationData $event_location = null,
        public readonly bool $clear_event_location = false,
    ) {}
}