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.6 KB
Raw Blame
<?php

namespace HiEvents\DomainObjects\Generated;

use HiEvents\DomainObjects\AbstractDomainObject;

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

    final public const PLURAL_NAME = 'event_lineup_entries';

    final public const ID = 'id';

    final public const EVENT_ID = 'event_id';

    final public const PROFILE_ID = 'profile_id';

    final public const BILLING_TIER = 'billing_tier';

    final public const ROLE_LABEL = 'role_label';

    final public const SORT_ORDER = 'sort_order';

    final public const IS_HIDDEN = 'is_hidden';

    final public const CREATED_AT = 'created_at';

    final public const UPDATED_AT = 'updated_at';

    protected int $id;

    protected int $event_id;

    protected int $profile_id;

    protected string $billing_tier = 'STANDARD';

    protected ?string $role_label = null;

    protected int $sort_order = 0;

    protected bool $is_hidden = false;

    protected ?string $created_at = null;

    protected ?string $updated_at = null;

    public function toArray(): array
    {
        return [
            'id' => $this->id ?? null,
            'event_id' => $this->event_id ?? null,
            'profile_id' => $this->profile_id ?? null,
            'billing_tier' => $this->billing_tier ?? null,
            'role_label' => $this->role_label ?? null,
            'sort_order' => $this->sort_order ?? null,
            'is_hidden' => $this->is_hidden ?? 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 setEventId(int $event_id): self
    {
        $this->event_id = $event_id;

        return $this;
    }

    public function getEventId(): int
    {
        return $this->event_id;
    }

    public function setProfileId(int $profile_id): self
    {
        $this->profile_id = $profile_id;

        return $this;
    }

    public function getProfileId(): int
    {
        return $this->profile_id;
    }

    public function setBillingTier(string $billing_tier): self
    {
        $this->billing_tier = $billing_tier;

        return $this;
    }

    public function getBillingTier(): string
    {
        return $this->billing_tier;
    }

    public function setRoleLabel(?string $role_label): self
    {
        $this->role_label = $role_label;

        return $this;
    }

    public function getRoleLabel(): ?string
    {
        return $this->role_label;
    }

    public function setSortOrder(int $sort_order): self
    {
        $this->sort_order = $sort_order;

        return $this;
    }

    public function getSortOrder(): int
    {
        return $this->sort_order;
    }

    public function setIsHidden(bool $is_hidden): self
    {
        $this->is_hidden = $is_hidden;

        return $this;
    }

    public function getIsHidden(): bool
    {
        return $this->is_hidden;
    }

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