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

4.8 KB
Raw Blame
<?php

namespace HiEvents\DomainObjects\Generated;

/**
 * THIS FILE IS AUTOGENERATED - DO NOT EDIT IT DIRECTLY.
 * @package HiEvents\DomainObjects\Generated
 */
abstract class AttendeeCheckInDomainObjectAbstract extends \HiEvents\DomainObjects\AbstractDomainObject
{
    final public const SINGULAR_NAME = 'attendee_check_in';
    final public const PLURAL_NAME = 'attendee_check_ins';
    final public const ID = 'id';
    final public const CHECK_IN_LIST_ID = 'check_in_list_id';
    final public const PRODUCT_ID = 'product_id';
    final public const ATTENDEE_ID = 'attendee_id';
    final public const EVENT_ID = 'event_id';
    final public const ORDER_ID = 'order_id';
    final public const EVENT_OCCURRENCE_ID = 'event_occurrence_id';
    final public const SHORT_ID = 'short_id';
    final public const IP_ADDRESS = 'ip_address';
    final public const DELETED_AT = 'deleted_at';
    final public const CREATED_AT = 'created_at';
    final public const UPDATED_AT = 'updated_at';

    protected int $id;
    protected int $check_in_list_id;
    protected int $product_id;
    protected int $attendee_id;
    protected int $event_id;
    protected ?int $order_id = null;
    protected ?int $event_occurrence_id = null;
    protected string $short_id;
    protected string $ip_address;
    protected ?string $deleted_at = null;
    protected ?string $created_at = null;
    protected ?string $updated_at = null;

    public function toArray(): array
    {
        return [
                    'id' => $this->id ?? null,
                    'check_in_list_id' => $this->check_in_list_id ?? null,
                    'product_id' => $this->product_id ?? null,
                    'attendee_id' => $this->attendee_id ?? null,
                    'event_id' => $this->event_id ?? null,
                    'order_id' => $this->order_id ?? null,
                    'event_occurrence_id' => $this->event_occurrence_id ?? null,
                    'short_id' => $this->short_id ?? null,
                    'ip_address' => $this->ip_address ?? null,
                    'deleted_at' => $this->deleted_at ?? 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 setCheckInListId(int $check_in_list_id): self
    {
        $this->check_in_list_id = $check_in_list_id;
        return $this;
    }

    public function getCheckInListId(): int
    {
        return $this->check_in_list_id;
    }

    public function setProductId(int $product_id): self
    {
        $this->product_id = $product_id;
        return $this;
    }

    public function getProductId(): int
    {
        return $this->product_id;
    }

    public function setAttendeeId(int $attendee_id): self
    {
        $this->attendee_id = $attendee_id;
        return $this;
    }

    public function getAttendeeId(): int
    {
        return $this->attendee_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 setOrderId(?int $order_id): self
    {
        $this->order_id = $order_id;
        return $this;
    }

    public function getOrderId(): ?int
    {
        return $this->order_id;
    }

    public function setEventOccurrenceId(?int $event_occurrence_id): self
    {
        $this->event_occurrence_id = $event_occurrence_id;
        return $this;
    }

    public function getEventOccurrenceId(): ?int
    {
        return $this->event_occurrence_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 setIpAddress(string $ip_address): self
    {
        $this->ip_address = $ip_address;
        return $this;
    }

    public function getIpAddress(): string
    {
        return $this->ip_address;
    }

    public function setDeletedAt(?string $deleted_at): self
    {
        $this->deleted_at = $deleted_at;
        return $this;
    }

    public function getDeletedAt(): ?string
    {
        return $this->deleted_at;
    }

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