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 ⭐️

459 B
Raw Blame
<?php

namespace HiEvents\Services\Domain\EventOccurrence\DTO;

use HiEvents\DataTransferObjects\BaseDataObject;

class OccurrenceBookingLimitsDTO extends BaseDataObject
{
    /**
     * @param  OccurrenceAllocationDTO[]  $allocations
     */
    public function __construct(
        public readonly ?int $capacity,
        public readonly ?int $allocation_total,
        public readonly ?int $sellable,
        public readonly array $allocations,
    ) {}
}