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

2.8 KB
Raw Blame
<?php

namespace HiEvents\DomainObjects\Generated;

use HiEvents\DomainObjects\AbstractDomainObject;

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

    final public const PLURAL_NAME = 'event_schedule_item_performers';

    final public const ID = 'id';

    final public const EVENT_SCHEDULE_ITEM_ID = 'event_schedule_item_id';

    final public const EVENT_LINEUP_ENTRY_ID = 'event_lineup_entry_id';

    final public const SORT_ORDER = 'sort_order';

    final public const CREATED_AT = 'created_at';

    final public const UPDATED_AT = 'updated_at';

    protected int $id;

    protected int $event_schedule_item_id;

    protected int $event_lineup_entry_id;

    protected int $sort_order = 0;

    protected ?string $created_at = null;

    protected ?string $updated_at = null;

    public function toArray(): array
    {
        return [
            'id' => $this->id ?? null,
            'event_schedule_item_id' => $this->event_schedule_item_id ?? null,
            'event_lineup_entry_id' => $this->event_lineup_entry_id ?? null,
            'sort_order' => $this->sort_order ?? 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 setEventScheduleItemId(int $event_schedule_item_id): self
    {
        $this->event_schedule_item_id = $event_schedule_item_id;

        return $this;
    }

    public function getEventScheduleItemId(): int
    {
        return $this->event_schedule_item_id;
    }

    public function setEventLineupEntryId(int $event_lineup_entry_id): self
    {
        $this->event_lineup_entry_id = $event_lineup_entry_id;

        return $this;
    }

    public function getEventLineupEntryId(): int
    {
        return $this->event_lineup_entry_id;
    }

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

        return $this;
    }

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

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