mirror of
https://gitlab.com/uldvstar/exchange-2.0.git
synced 2026-08-19 12:34:24 +00:00
44 lines
683 B
PHP
44 lines
683 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Companies\DataTransferObjects;
|
|
|
|
|
|
use App\Models\Company;
|
|
|
|
class ModuleObject
|
|
{
|
|
|
|
/** @var Company */
|
|
private $company;
|
|
|
|
/** @var int */
|
|
private $type;
|
|
|
|
/**
|
|
* ModuleObject constructor.
|
|
* @param Company $company
|
|
* @param int $type
|
|
*/
|
|
public function __construct(Company $company, int $type)
|
|
{
|
|
$this->company = $company;
|
|
$this->type = $type;
|
|
}
|
|
|
|
/**
|
|
* @return Company
|
|
*/
|
|
public function getCompany(): Company
|
|
{
|
|
return $this->company;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getType(): int
|
|
{
|
|
return $this->type;
|
|
}
|
|
|
|
} |