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 AccountFeatureFlagOverrideDomainObjectAbstract extends \HiEvents\DomainObjects\AbstractDomainObject
{
final public const SINGULAR_NAME = 'account_feature_flag_override';
final public const PLURAL_NAME = 'account_feature_flag_overrides';
final public const ID = 'id';
final public const ACCOUNT_ID = 'account_id';
final public const FEATURE_FLAG_ID = 'feature_flag_id';
final public const ENABLED = 'enabled';
final public const CREATED_AT = 'created_at';
final public const UPDATED_AT = 'updated_at';
protected int $id;
protected int $account_id;
protected int $feature_flag_id;
protected bool $enabled;
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,
'feature_flag_id' => $this->feature_flag_id ?? null,
'enabled' => $this->enabled ?? 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 setFeatureFlagId(int $feature_flag_id): self
{
$this->feature_flag_id = $feature_flag_id;
return $this;
}
public function getFeatureFlagId(): int
{
return $this->feature_flag_id;
}
public function setEnabled(bool $enabled): self
{
$this->enabled = $enabled;
return $this;
}
public function getEnabled(): bool
{
return $this->enabled;
}
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;
}
}