Skip to content

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 ⭐️

3.8 KB
Raw Blame
<?php

namespace HiEvents\DomainObjects\Generated;

use HiEvents\DomainObjects\AbstractDomainObject;

/**
 * THIS FILE IS AUTOGENERATED - DO NOT EDIT IT DIRECTLY.
 */
abstract class ProfileDomainObjectAbstract extends AbstractDomainObject
{
    final public const SINGULAR_NAME = 'profile';

    final public const PLURAL_NAME = 'profiles';

    final public const ID = 'id';

    final public const ACCOUNT_ID = 'account_id';

    final public const ORGANIZER_ID = 'organizer_id';

    final public const NAME = 'name';

    final public const TAGLINE = 'tagline';

    final public const BIO = 'bio';

    final public const LINKS = 'links';

    final public const CREATED_AT = 'created_at';

    final public const UPDATED_AT = 'updated_at';

    final public const DELETED_AT = 'deleted_at';

    protected int $id;

    protected int $account_id;

    protected int $organizer_id;

    protected string $name;

    protected ?string $tagline = null;

    protected ?string $bio = null;

    protected array|string|null $links = null;

    protected ?string $created_at = null;

    protected ?string $updated_at = null;

    protected ?string $deleted_at = null;

    public function toArray(): array
    {
        return [
            'id' => $this->id ?? null,
            'account_id' => $this->account_id ?? null,
            'organizer_id' => $this->organizer_id ?? null,
            'name' => $this->name ?? null,
            'tagline' => $this->tagline ?? null,
            'bio' => $this->bio ?? null,
            'links' => $this->links ?? null,
            'created_at' => $this->created_at ?? null,
            'updated_at' => $this->updated_at ?? null,
            'deleted_at' => $this->deleted_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 setOrganizerId(int $organizer_id): self
    {
        $this->organizer_id = $organizer_id;

        return $this;
    }

    public function getOrganizerId(): int
    {
        return $this->organizer_id;
    }

    public function setName(string $name): self
    {
        $this->name = $name;

        return $this;
    }

    public function getName(): string
    {
        return $this->name;
    }

    public function setTagline(?string $tagline): self
    {
        $this->tagline = $tagline;

        return $this;
    }

    public function getTagline(): ?string
    {
        return $this->tagline;
    }

    public function setBio(?string $bio): self
    {
        $this->bio = $bio;

        return $this;
    }

    public function getBio(): ?string
    {
        return $this->bio;
    }

    public function setLinks(array|string|null $links): self
    {
        $this->links = $links;

        return $this;
    }

    public function getLinks(): array|string|null
    {
        return $this->links;
    }

    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;
    }
}