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 OutgoingMessageDomainObjectAbstract extends AbstractDomainObject
{
final public const SINGULAR_NAME = 'outgoing_message';
final public const PLURAL_NAME = 'outgoing_messages';
final public const ID = 'id';
final public const EVENT_ID = 'event_id';
final public const MESSAGE_ID = 'message_id';
final public const SUBJECT = 'subject';
final public const RECIPIENT = 'recipient';
final public const STATUS = 'status';
final public const CREATED_AT = 'created_at';
final public const UPDATED_AT = 'updated_at';
final public const DELETED_AT = 'deleted_at';
final public const PROVIDER_MESSAGE_ID = 'provider_message_id';
protected int $id;
protected int $event_id;
protected int $message_id;
protected string $subject;
protected string $recipient;
protected string $status;
protected ?string $created_at = null;
protected ?string $updated_at = null;
protected ?string $deleted_at = null;
protected ?string $provider_message_id = null;
public function toArray(): array
{
return [
'id' => $this->id ?? null,
'event_id' => $this->event_id ?? null,
'message_id' => $this->message_id ?? null,
'subject' => $this->subject ?? null,
'recipient' => $this->recipient ?? null,
'status' => $this->status ?? null,
'created_at' => $this->created_at ?? null,
'updated_at' => $this->updated_at ?? null,
'deleted_at' => $this->deleted_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 setEventId(int $event_id): self
{
$this->event_id = $event_id;
return $this;
}
public function getEventId(): int
{
return $this->event_id;
}
public function setMessageId(int $message_id): self
{
$this->message_id = $message_id;
return $this;
}
public function getMessageId(): int
{
return $this->message_id;
}
public function setSubject(string $subject): self
{
$this->subject = $subject;
return $this;
}
public function getSubject(): string
{
return $this->subject;
}
public function setRecipient(string $recipient): self
{
$this->recipient = $recipient;
return $this;
}
public function getRecipient(): string
{
return $this->recipient;
}
public function setStatus(string $status): self
{
$this->status = $status;
return $this;
}
public function getStatus(): string
{
return $this->status;
}
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 setDeletedAt(?string $deleted_at): self
{
$this->deleted_at = $deleted_at;
return $this;
}
public function getDeletedAt(): ?string
{
return $this->deleted_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;
}
}