mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-27 08:24:06 +00:00
backend registration step 1
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user