<?php

namespace App\Classes\Modules\Companies\DataTransferObjects;

use App\Classes\General\Interfaces\DataTransferObject;
use App\Classes\ValueObjects\Constants\Countries;
use App\Models\Company;
use App\Models\Segment;

class CompanySegmentObject implements DataTransferObject
{
    /** @var Company */
    private $company;

    /** @var Segment */
    private $segment;


    /**
     * CompanySegmentObject constructor.
     * @param Company $company
     * @param Segment $segment
     */
    public function __construct(Company $company, Segment $segment)
    {
        $this->company = $company;
        $this->segment = $segment;
    }

    /**
     * @return Company
     */
    public function getCompany(): Company
    {
        return $this->company;
    }

    /**
     * @return Segment
     */
    public function getSegment(): Segment
    {
        return $this->segment;
    }

}
