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 LocationDomainObjectAbstract extends \HiEvents\DomainObjects\AbstractDomainObject
{
final public const SINGULAR_NAME = 'location';
final public const PLURAL_NAME = 'locations';
final public const ID = 'id';
final public const ACCOUNT_ID = 'account_id';
final public const ORGANIZER_ID = 'organizer_id';
final public const SHORT_ID = 'short_id';
final public const NAME = 'name';
final public const STRUCTURED_ADDRESS = 'structured_address';
final public const LATITUDE = 'latitude';
final public const LONGITUDE = 'longitude';
final public const PROVIDER = 'provider';
final public const PROVIDER_PLACE_ID = 'provider_place_id';
final public const CREATED_AT = 'created_at';
final public const UPDATED_AT = 'updated_at';
final public const DELETED_AT = 'deleted_at';
final public const RAW_PROVIDER_RESPONSE = 'raw_provider_response';
protected int $id;
protected int $account_id;
protected int $organizer_id;
protected string $short_id;
protected ?string $name = null;
protected array|string|null $structured_address = null;
protected ?float $latitude = null;
protected ?float $longitude = null;
protected ?string $provider = null;
protected ?string $provider_place_id = null;
protected ?string $created_at = null;
protected ?string $updated_at = null;
protected ?string $deleted_at = null;
protected array|string|null $raw_provider_response = null;
public function toArray(): array
{
return [
'id' => $this->id ?? null,
'account_id' => $this->account_id ?? null,
'organizer_id' => $this->organizer_id ?? null,
'short_id' => $this->short_id ?? null,
'name' => $this->name ?? null,
'structured_address' => $this->structured_address ?? null,
'latitude' => $this->latitude ?? null,
'longitude' => $this->longitude ?? null,
'provider' => $this->provider ?? null,
'provider_place_id' => $this->provider_place_id ?? null,
'created_at' => $this->created_at ?? null,
'updated_at' => $this->updated_at ?? null,
'deleted_at' => $this->deleted_at ?? null,
'raw_provider_response' => $this->raw_provider_response ?? 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 setOrganizerId(int $organizer_id): self
{
$this->organizer_id = $organizer_id;
return $this;
}
public function getOrganizerId(): int
{
return $this->organizer_id;
}
public function setShortId(string $short_id): self
{
$this->short_id = $short_id;
return $this;
}
public function getShortId(): string
{
return $this->short_id;
}
public function setName(?string $name): self
{
$this->name = $name;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setStructuredAddress(array|string|null $structured_address): self
{
$this->structured_address = $structured_address;
return $this;
}
public function getStructuredAddress(): array|string|null
{
return $this->structured_address;
}
public function setLatitude(?float $latitude): self
{
$this->latitude = $latitude;
return $this;
}
public function getLatitude(): ?float
{
return $this->latitude;
}
public function setLongitude(?float $longitude): self
{
$this->longitude = $longitude;
return $this;
}
public function getLongitude(): ?float
{
return $this->longitude;
}
public function setProvider(?string $provider): self
{
$this->provider = $provider;
return $this;
}
public function getProvider(): ?string
{
return $this->provider;
}
public function setProviderPlaceId(?string $provider_place_id): self
{
$this->provider_place_id = $provider_place_id;
return $this;
}
public function getProviderPlaceId(): ?string
{
return $this->provider_place_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 setDeletedAt(?string $deleted_at): self
{
$this->deleted_at = $deleted_at;
return $this;
}
public function getDeletedAt(): ?string
{
return $this->deleted_at;
}
public function setRawProviderResponse(array|string|null $raw_provider_response): self
{
$this->raw_provider_response = $raw_provider_response;
return $this;
}
public function getRawProviderResponse(): array|string|null
{
return $this->raw_provider_response;
}
}