mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-25 15:33:58 +00:00
Major incomplete Change
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
namespace App\Classes\Modules\Accounts\DataTransferObjects;
|
||||
|
||||
|
||||
class UserInvitationObject
|
||||
{
|
||||
|
||||
/** @var integer */
|
||||
private $role;
|
||||
|
||||
/** @var string */
|
||||
private $inviteeEmail;
|
||||
|
||||
|
||||
/**
|
||||
* UserInvitationObject constructor.
|
||||
* @param int $role
|
||||
* @param string $inviteeEmail
|
||||
*/
|
||||
public function __construct(int $role, string $inviteeEmail)
|
||||
{
|
||||
$this->role = $role;
|
||||
$this->inviteeEmail = $inviteeEmail;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getRole(): int
|
||||
{
|
||||
return $this->role;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getInviteeEmail(): string
|
||||
{
|
||||
return $this->inviteeEmail;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user