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 ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
<?php
namespace HiEvents\DomainObjects\Generated;
/**
* THIS FILE IS AUTOGENERATED - DO NOT EDIT IT DIRECTLY.
* @package HiEvents\DomainObjects\Generated
*/
abstract class AccountDeletionRequestDomainObjectAbstract extends \HiEvents\DomainObjects\AbstractDomainObject
{
final public const SINGULAR_NAME = 'account_deletion_request';
final public const PLURAL_NAME = 'account_deletion_requests';
final public const ID = 'id';
final public const ACCOUNT_ID = 'account_id';
final public const REQUESTED_BY_USER_ID = 'requested_by_user_id';
final public const INITIATED_BY = 'initiated_by';
final public const REASON = 'reason';
final public const STATUS = 'status';
final public const EXPECTED_OUTCOME = 'expected_outcome';
final public const OUTCOME = 'outcome';
final public const SCHEDULED_DELETION_AT = 'scheduled_deletion_at';
final public const REMINDER_SENT_AT = 'reminder_sent_at';
final public const CANCELLED_AT = 'cancelled_at';
final public const CANCELLED_BY_USER_ID = 'cancelled_by_user_id';
final public const COMPLETED_AT = 'completed_at';
final public const DELETION_MANIFEST = 'deletion_manifest';
final public const CREATED_AT = 'created_at';
final public const UPDATED_AT = 'updated_at';
protected int $id;
protected int $account_id;
protected int $requested_by_user_id;
protected string $initiated_by;
protected ?string $reason = null;
protected string $status = 'REQUESTED';
protected ?string $expected_outcome = null;
protected ?string $outcome = null;
protected string $scheduled_deletion_at;
protected ?string $reminder_sent_at = null;
protected ?string $cancelled_at = null;
protected ?int $cancelled_by_user_id = null;
protected ?string $completed_at = null;
protected array|string|null $deletion_manifest = null;
protected ?string $created_at = null;
protected ?string $updated_at = null;
public function toArray(): array
{
return [
'id' => $this->id ?? null,
'account_id' => $this->account_id ?? null,
'requested_by_user_id' => $this->requested_by_user_id ?? null,
'initiated_by' => $this->initiated_by ?? null,
'reason' => $this->reason ?? null,
'status' => $this->status ?? null,
'expected_outcome' => $this->expected_outcome ?? null,
'outcome' => $this->outcome ?? null,
'scheduled_deletion_at' => $this->scheduled_deletion_at ?? null,
'reminder_sent_at' => $this->reminder_sent_at ?? null,
'cancelled_at' => $this->cancelled_at ?? null,
'cancelled_by_user_id' => $this->cancelled_by_user_id ?? null,
'completed_at' => $this->completed_at ?? null,
'deletion_manifest' => $this->deletion_manifest ?? null,
'created_at' => $this->created_at ?? null,
'updated_at' => $this->updated_at ?? null,
];
}
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setAccountId(int $account_id): self
{
$this->account_id = $account_id;
return $this;
}
public function getAccountId(): int
{
return $this->account_id;
}
public function setRequestedByUserId(int $requested_by_user_id): self
{
$this->requested_by_user_id = $requested_by_user_id;
return $this;
}
public function getRequestedByUserId(): int
{
return $this->requested_by_user_id;
}
public function setInitiatedBy(string $initiated_by): self
{
$this->initiated_by = $initiated_by;
return $this;
}
public function getInitiatedBy(): string
{
return $this->initiated_by;
}
public function setReason(?string $reason): self
{
$this->reason = $reason;
return $this;
}
public function getReason(): ?string
{
return $this->reason;
}
public function setStatus(string $status): self
{
$this->status = $status;
return $this;
}
public function getStatus(): string
{
return $this->status;
}
public function setExpectedOutcome(?string $expected_outcome): self
{
$this->expected_outcome = $expected_outcome;
return $this;
}
public function getExpectedOutcome(): ?string
{
return $this->expected_outcome;
}
public function setOutcome(?string $outcome): self
{
$this->outcome = $outcome;
return $this;
}
public function getOutcome(): ?string
{
return $this->outcome;
}
public function setScheduledDeletionAt(string $scheduled_deletion_at): self
{
$this->scheduled_deletion_at = $scheduled_deletion_at;
return $this;
}
public function getScheduledDeletionAt(): string
{
return $this->scheduled_deletion_at;
}
public function setReminderSentAt(?string $reminder_sent_at): self
{
$this->reminder_sent_at = $reminder_sent_at;
return $this;
}
public function getReminderSentAt(): ?string
{
return $this->reminder_sent_at;
}
public function setCancelledAt(?string $cancelled_at): self
{
$this->cancelled_at = $cancelled_at;
return $this;
}
public function getCancelledAt(): ?string
{
return $this->cancelled_at;
}
public function setCancelledByUserId(?int $cancelled_by_user_id): self
{
$this->cancelled_by_user_id = $cancelled_by_user_id;
return $this;
}
public function getCancelledByUserId(): ?int
{
return $this->cancelled_by_user_id;
}
public function setCompletedAt(?string $completed_at): self
{
$this->completed_at = $completed_at;
return $this;
}
public function getCompletedAt(): ?string
{
return $this->completed_at;
}
public function setDeletionManifest(array|string|null $deletion_manifest): self
{
$this->deletion_manifest = $deletion_manifest;
return $this;
}
public function getDeletionManifest(): array|string|null
{
return $this->deletion_manifest;
}
public function setCreatedAt(?string $created_at): self
{
$this->created_at = $created_at;
return $this;
}
public function getCreatedAt(): ?string
{
return $this->created_at;
}
public function setUpdatedAt(?string $updated_at): self
{
$this->updated_at = $updated_at;
return $this;
}
public function getUpdatedAt(): ?string
{
return $this->updated_at;
}
}