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

631 B
Raw Blame
<?php

namespace HiEvents\Services\Application\Handlers\Account\DeletionRequest\DTO;

use HiEvents\DataTransferObjects\BaseDataObject;
use HiEvents\DomainObjects\AccountDeletionRequestDomainObject;

class GetAccountDeletionStatusDTO extends BaseDataObject
{
    public function __construct(
        public readonly ?AccountDeletionRequestDomainObject $activeRequest,
        public readonly bool $canRequestDeletion,
        public readonly ?string $cannotDeleteReason,
        public readonly string $expectedOutcome,
        /** @var AccountDeletionBlockingEventDTO[] */
        public readonly array $blockingEvents,
    ) {}
}