. */ namespace SP\DataModel\Dto; use SP\DataModel\ItemData; /** * Class AccountAclDto * * @package SP\DataModel\Dto */ class AccountAclDto { /** * @var int */ private $accountId; /** * @var int */ private $userId; /** * @var ItemData[] */ private $usersId; /** * @var int */ private $userGroupId; /** * @var ItemData[] */ private $userGroupsId; /** * @var int */ private $dateEdit; /** * @var int */ private $otherUserEdit; /** * @var int */ private $otherUserGroupEdit; /** * @return int */ public function getUserId() { return $this->userId; } /** * @param int $userId */ public function setUserId($userId) { $this->userId = (int)$userId; } /** * @return ItemData[] */ public function getUsersId() { return $this->usersId; } /** * @param ItemData[] $usersId */ public function setUsersId(array $usersId) { $this->usersId = $usersId; } /** * @return int */ public function getUserGroupId() { return $this->userGroupId; } /** * @param int $userGroupId */ public function setUserGroupId($userGroupId) { $this->userGroupId = (int)$userGroupId; } /** * @return ItemData[] */ public function getUserGroupsId() { return $this->userGroupsId; } /** * @param ItemData[] $userGroupsId */ public function setUserGroupsId(array $userGroupsId) { $this->userGroupsId = $userGroupsId; } /** * @return string */ public function getDateEdit() { return $this->dateEdit; } /** * @param string $dateEdit */ public function setDateEdit($dateEdit) { $this->dateEdit = $dateEdit; } /** * @return int */ public function getOtherUserEdit() { return $this->otherUserEdit; } /** * @param int $otherUserEdit */ public function setOtherUserEdit($otherUserEdit) { $this->otherUserEdit = (int)$otherUserEdit; } /** * @return int */ public function getOtherUserGroupEdit() { return $this->otherUserGroupEdit; } /** * @param int $otherUserGroupEdit */ public function setOtherUserGroupEdit($otherUserGroupEdit) { $this->otherUserGroupEdit = (int)$otherUserGroupEdit; } /** * @return int */ public function getAccountId() { return $this->accountId; } /** * @param int $accountId */ public function setAccountId($accountId) { $this->accountId = (int)$accountId; } }