. */ namespace SP\DataModel; use SP\Domain\Common\Adapters\DataModelInterface; defined('APP_ROOT') || die(); /** * Class UserBasicData * * @package SP\DataModel */ class UserData extends UserPassData implements DataModelInterface { protected ?string $login = null; protected ?string $ssoLogin = null; protected ?string $name = null; protected ?string $email = null; protected ?string $notes = null; protected ?int $userGroupId = null; protected ?int $userProfileId = null; protected ?int $isAdminApp = null; protected bool $isAdminAcc = false; protected bool $isDisabled = false; protected bool $isChangePass = false; protected bool $isChangedPass = false; protected bool $isLdap = false; protected ?int $loginCount = null; protected ?string $lastLogin = null; protected ?string $lastUpdate = null; protected ?bool $isMigrate = false; protected ?string $preferences = null; protected ?string $userGroupName = null; public function getLoginCount(): int { return (int)$this->loginCount; } public function getLastLogin(): ?string { return $this->lastLogin; } public function getLastUpdate(): ?string { return $this->lastUpdate; } public function isMigrate(): int { return (int)$this->isMigrate; } public function getPreferences(): ?string { return $this->preferences; } public function getEmail(): ?string { return $this->email; } public function getNotes(): ?string { return $this->notes; } public function getUserGroupId(): int { return (int)$this->userGroupId; } public function getUserProfileId(): int { return (int)$this->userProfileId; } public function isAdminApp(): int { return (int)$this->isAdminApp; } public function isAdminAcc(): int { return (int)$this->isAdminAcc; } public function isDisabled(): int { return (int)$this->isDisabled; } public function isChangePass(): int { return (int)$this->isChangePass; } public function isLdap(): int { return (int)$this->isLdap; } public function getLogin(): ?string { return $this->login; } public function getName(): ?string { return $this->name; } public function getUserGroupName(): ?string { return $this->userGroupName; } public function isChangedPass(): int { return (int)$this->isChangedPass; } public function getSsoLogin(): ?string { return $this->ssoLogin; } }