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 UserDomainObjectAbstract extends AbstractDomainObject
{
final public const SINGULAR_NAME = 'user';
final public const PLURAL_NAME = 'users';
final public const ID = 'id';
final public const EMAIL = 'email';
final public const EMAIL_VERIFIED_AT = 'email_verified_at';
final public const PASSWORD = 'password';
final public const REMEMBER_TOKEN = 'remember_token';
final public const CREATED_AT = 'created_at';
final public const UPDATED_AT = 'updated_at';
final public const DELETED_AT = 'deleted_at';
final public const FIRST_NAME = 'first_name';
final public const LAST_NAME = 'last_name';
final public const PENDING_EMAIL = 'pending_email';
final public const TIMEZONE = 'timezone';
final public const LOCALE = 'locale';
final public const MARKETING_OPTED_IN_AT = 'marketing_opted_in_at';
final public const TWO_FACTOR_SECRET = 'two_factor_secret';
final public const TWO_FACTOR_RECOVERY_CODES = 'two_factor_recovery_codes';
final public const TWO_FACTOR_CONFIRMED_AT = 'two_factor_confirmed_at';
final public const TWO_FACTOR_LAST_USED_TIMESTEP = 'two_factor_last_used_timestep';
final public const LIFECYCLE_EMAILS_UNSUBSCRIBED_AT = 'lifecycle_emails_unsubscribed_at';
final public const TOKENS_VALID_AFTER = 'tokens_valid_after';
protected int $id;
protected string $email;
protected ?string $email_verified_at = null;
protected ?string $password = null;
protected ?string $remember_token = null;
protected ?string $created_at = null;
protected ?string $updated_at = null;
protected ?string $deleted_at = null;
protected string $first_name;
protected ?string $last_name = null;
protected ?string $pending_email = null;
protected string $timezone;
protected string $locale = 'en';
protected ?string $marketing_opted_in_at = null;
protected ?string $two_factor_secret = null;
protected ?string $two_factor_recovery_codes = null;
protected ?string $two_factor_confirmed_at = null;
protected ?int $two_factor_last_used_timestep = null;
protected ?string $lifecycle_emails_unsubscribed_at = null;
protected ?string $tokens_valid_after = null;
public function toArray(): array
{
return [
'id' => $this->id ?? null,
'email' => $this->email ?? null,
'email_verified_at' => $this->email_verified_at ?? null,
'password' => $this->password ?? null,
'remember_token' => $this->remember_token ?? null,
'created_at' => $this->created_at ?? null,
'updated_at' => $this->updated_at ?? null,
'deleted_at' => $this->deleted_at ?? null,
'first_name' => $this->first_name ?? null,
'last_name' => $this->last_name ?? null,
'pending_email' => $this->pending_email ?? null,
'timezone' => $this->timezone ?? null,
'locale' => $this->locale ?? null,
'marketing_opted_in_at' => $this->marketing_opted_in_at ?? null,
'two_factor_secret' => $this->two_factor_secret ?? null,
'two_factor_recovery_codes' => $this->two_factor_recovery_codes ?? null,
'two_factor_confirmed_at' => $this->two_factor_confirmed_at ?? null,
'two_factor_last_used_timestep' => $this->two_factor_last_used_timestep ?? null,
'lifecycle_emails_unsubscribed_at' => $this->lifecycle_emails_unsubscribed_at ?? null,
'tokens_valid_after' => $this->tokens_valid_after ?? null,
];
}
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
public function getEmail(): string
{
return $this->email;
}
public function setEmailVerifiedAt(?string $email_verified_at): self
{
$this->email_verified_at = $email_verified_at;
return $this;
}
public function getEmailVerifiedAt(): ?string
{
return $this->email_verified_at;
}
public function setPassword(?string $password): self
{
$this->password = $password;
return $this;
}
public function getPassword(): ?string
{
return $this->password;
}
public function setRememberToken(?string $remember_token): self
{
$this->remember_token = $remember_token;
return $this;
}
public function getRememberToken(): ?string
{
return $this->remember_token;
}
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 setFirstName(string $first_name): self
{
$this->first_name = $first_name;
return $this;
}
public function getFirstName(): string
{
return $this->first_name;
}
public function setLastName(?string $last_name): self
{
$this->last_name = $last_name;
return $this;
}
public function getLastName(): ?string
{
return $this->last_name;
}
public function setPendingEmail(?string $pending_email): self
{
$this->pending_email = $pending_email;
return $this;
}
public function getPendingEmail(): ?string
{
return $this->pending_email;
}
public function setTimezone(string $timezone): self
{
$this->timezone = $timezone;
return $this;
}
public function getTimezone(): string
{
return $this->timezone;
}
public function setLocale(string $locale): self
{
$this->locale = $locale;
return $this;
}
public function getLocale(): string
{
return $this->locale;
}
public function setMarketingOptedInAt(?string $marketing_opted_in_at): self
{
$this->marketing_opted_in_at = $marketing_opted_in_at;
return $this;
}
public function getMarketingOptedInAt(): ?string
{
return $this->marketing_opted_in_at;
}
public function setTwoFactorSecret(?string $two_factor_secret): self
{
$this->two_factor_secret = $two_factor_secret;
return $this;
}
public function getTwoFactorSecret(): ?string
{
return $this->two_factor_secret;
}
public function setTwoFactorRecoveryCodes(?string $two_factor_recovery_codes): self
{
$this->two_factor_recovery_codes = $two_factor_recovery_codes;
return $this;
}
public function getTwoFactorRecoveryCodes(): ?string
{
return $this->two_factor_recovery_codes;
}
public function setTwoFactorConfirmedAt(?string $two_factor_confirmed_at): self
{
$this->two_factor_confirmed_at = $two_factor_confirmed_at;
return $this;
}
public function getTwoFactorConfirmedAt(): ?string
{
return $this->two_factor_confirmed_at;
}
public function setTwoFactorLastUsedTimestep(?int $two_factor_last_used_timestep): self
{
$this->two_factor_last_used_timestep = $two_factor_last_used_timestep;
return $this;
}
public function getTwoFactorLastUsedTimestep(): ?int
{
return $this->two_factor_last_used_timestep;
}
public function setLifecycleEmailsUnsubscribedAt(?string $lifecycle_emails_unsubscribed_at): self
{
$this->lifecycle_emails_unsubscribed_at = $lifecycle_emails_unsubscribed_at;
return $this;
}
public function getLifecycleEmailsUnsubscribedAt(): ?string
{
return $this->lifecycle_emails_unsubscribed_at;
}
public function setTokensValidAfter(?string $tokens_valid_after): self
{
$this->tokens_valid_after = $tokens_valid_after;
return $this;
}
public function getTokensValidAfter(): ?string
{
return $this->tokens_valid_after;
}
}