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

832 B
Raw Blame
<?php

namespace HiEvents\DomainObjects;

use HiEvents\DomainObjects\Generated\OrderDomainObjectAbstract;

class QuestionAnswerDomainObject extends Generated\QuestionAnswerDomainObjectAbstract
{
    private ?OrderDomainObjectAbstract $order = null;

    private ?QuestionDomainObject $question = null;

    public function setOrder(?OrderDomainObjectAbstract $order): QuestionAnswerDomainObject
    {
        $this->order = $order;

        return $this;
    }

    public function getOrder(): ?OrderDomainObjectAbstract
    {
        return $this->order;
    }

    public function setQuestion(?QuestionDomainObject $question): QuestionAnswerDomainObject
    {
        $this->question = $question;

        return $this;
    }

    public function getQuestion(): ?QuestionDomainObject
    {
        return $this->question;
    }
}