mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
44 lines
831 B
PHP
44 lines
831 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\CompanyEmployees\DataTransferObjects;
|
|
|
|
use App\Classes\Interfaces\DataTransferObject;
|
|
|
|
class CompanyEmployeeObject implements DataTransferObject
|
|
{
|
|
/** @var int|null */
|
|
private $company_id;
|
|
|
|
/** @var int|null */
|
|
private $user_id;
|
|
|
|
/**
|
|
* CompanyObject constructor.
|
|
* @param int|null $company_id
|
|
* @param int|null $user_id
|
|
*/
|
|
public function __construct(
|
|
?int $company_id,
|
|
?int $user_id
|
|
)
|
|
{
|
|
$this->company_id = $company_id;
|
|
$this->user_id = $user_id;
|
|
}
|
|
|
|
/**
|
|
* @return int|null
|
|
*/
|
|
public function getCompanyId(): ?int
|
|
{
|
|
return $this->company_id;
|
|
}
|
|
|
|
/**
|
|
* @return int|null
|
|
*/
|
|
public function getUserId(): ?int
|
|
{
|
|
return $this->user_id;
|
|
}
|
|
} |