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;
use HiEvents\DomainObjects\AbstractDomainObject;
/**
* THIS FILE IS AUTOGENERATED - DO NOT EDIT IT DIRECTLY.
*/
abstract class AccountLifecycleNudgeDomainObjectAbstract extends AbstractDomainObject
{
final public const SINGULAR_NAME = 'account_lifecycle_nudge';
final public const PLURAL_NAME = 'account_lifecycle_nudges';
final public const ID = 'id';
final public const ACCOUNT_ID = 'account_id';
final public const NUDGE_TYPE = 'nudge_type';
final public const EVENT_ID = 'event_id';
final public const CREATED_AT = 'created_at';
final public const UPDATED_AT = 'updated_at';
final public const PROVIDER_MESSAGE_ID = 'provider_message_id';
protected int $id;
protected int $account_id;
protected string $nudge_type;
protected ?int $event_id = null;
protected ?string $created_at = null;
protected ?string $updated_at = null;
protected ?string $provider_message_id = null;
public function toArray(): array
{
return [
'id' => $this->id ?? null,
'account_id' => $this->account_id ?? null,
'nudge_type' => $this->nudge_type ?? null,
'event_id' => $this->event_id ?? null,
'created_at' => $this->created_at ?? null,
'updated_at' => $this->updated_at ?? null,
'provider_message_id' => $this->provider_message_id ?? 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 setNudgeType(string $nudge_type): self
{
$this->nudge_type = $nudge_type;
return $this;
}
public function getNudgeType(): string
{
return $this->nudge_type;
}
public function setEventId(?int $event_id): self
{
$this->event_id = $event_id;
return $this;
}
public function getEventId(): ?int
{
return $this->event_id;
}
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;
}
public function setProviderMessageId(?string $provider_message_id): self
{
$this->provider_message_id = $provider_message_id;
return $this;
}
public function getProviderMessageId(): ?string
{
return $this->provider_message_id;
}
}