<?php

namespace App\Classes\Modules\Companies\DataTransferObjects;

use App\Classes\General\Interfaces\DataTransferObject;
use App\Models\CompanyModule;

class CompanyConnectionObject implements DataTransferObject
{

    /** @var CompanyModule */
    private $invitee;

    /** @var string */
    private $inviterReference;

    /** @var string */
    private $inviteeReference;

    /**
     * CompanyConnectionObject constructor.
     * @param CompanyModule $invitee
     * @param string $inviterReference
     * @param string $inviteeReference
     */
    public function __construct(CompanyModule $invitee, string $inviterReference, string $inviteeReference)
    {
        $this->invitee = $invitee;
        $this->inviterReference = $inviterReference;
        $this->inviteeReference = $inviteeReference;
    }

    /**
     * @return CompanyModule
     */
    public function getInvitee(): CompanyModule
    {
        return $this->invitee;
    }

    /**
     * @return string
     */
    public function getInviterReference(): string
    {
        return $this->inviterReference;
    }

    /**
     * @return string
     */
    public function getInviteeReference(): string
    {
        return $this->inviteeReference;
    }


}
