<?php

namespace HiEvents\DomainObjects\Generated;

/**
 * THIS FILE IS AUTOGENERATED - DO NOT EDIT IT DIRECTLY.
 * @package TicketKitten\DomainObjects\Generated
 */
abstract class TicketTaxDomainObjectAbstract extends \HiEvents\DomainObjects\AbstractDomainObject
{
    final public const SINGULAR_NAME = 'ticket_tax';
    final public const PLURAL_NAME = 'ticket_taxes';
    final public const ID = 'id';
    final public const TICKET_ID = 'ticket_id';
    final public const TAX_ID = 'tax_id';

    protected int $id;
    protected int $ticket_id;
    protected int $tax_id;

    public function toArray(): array
    {
        return [
                    'id' => $this->id ?? null,
                    'ticket_id' => $this->ticket_id ?? null,
                    'tax_id' => $this->tax_id ?? null,
                ];
    }

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

    public function getId(): int
    {
        return $this->id;
    }

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

    public function getTicketId(): int
    {
        return $this->ticket_id;
    }

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

    public function getTaxId(): int
    {
        return $this->tax_id;
    }
}
