mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 23:24:07 +01:00
223 lines
5.1 KiB
PHP
223 lines
5.1 KiB
PHP
<?php
|
|
/*
|
|
* sysPass
|
|
*
|
|
* @author nuxsmin
|
|
* @link https://syspass.org
|
|
* @copyright 2012-2022, Rubén Domínguez nuxsmin@$syspass.org
|
|
*
|
|
* This file is part of sysPass.
|
|
*
|
|
* sysPass is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* sysPass is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with sysPass. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
namespace SP\DataModel;
|
|
|
|
use SP\Domain\Common\Models\Model;
|
|
|
|
/**
|
|
* Class AccountVData
|
|
*
|
|
* @package SP\DataModel
|
|
*/
|
|
class AccountVData extends Model
|
|
{
|
|
protected ?int $id = null;
|
|
protected ?int $userId = null;
|
|
protected ?int $userGroupId = null;
|
|
protected ?int $userEditId = null;
|
|
protected ?string $name = null;
|
|
protected ?int $clientId = null;
|
|
protected ?int $categoryId = null;
|
|
protected ?string $login = null;
|
|
protected ?string $url = null;
|
|
protected ?string $pass = null;
|
|
protected ?string $key = null;
|
|
protected ?string $notes = null;
|
|
protected ?int $otherUserEdit = null;
|
|
protected ?int $otherUserGroupEdit = null;
|
|
protected ?int $dateAdd = null;
|
|
protected ?int $dateEdit = null;
|
|
protected ?int $countView = null;
|
|
protected ?int $countDecrypt = null;
|
|
protected ?int $isPrivate = null;
|
|
protected ?int $isPrivateGroup = null;
|
|
protected ?int $passDate = null;
|
|
protected ?int $passDateChange = null;
|
|
protected ?int $parentId = null;
|
|
protected ?string $categoryName = null;
|
|
protected ?string $clientName = null;
|
|
protected ?string $userGroupName = null;
|
|
protected ?string $userName = null;
|
|
protected ?string $userLogin = null;
|
|
protected ?string $userEditName = null;
|
|
protected ?string $userEditLogin = null;
|
|
protected ?string $publicLinkHash = null;
|
|
|
|
public function getId(): ?int
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function getUserId(): ?int
|
|
{
|
|
return $this->userId;
|
|
}
|
|
|
|
public function getUserGroupId(): ?int
|
|
{
|
|
return $this->userGroupId;
|
|
}
|
|
|
|
public function getUserEditId(): ?int
|
|
{
|
|
return $this->userEditId;
|
|
}
|
|
|
|
public function getName(): ?string
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
public function getClientId(): ?int
|
|
{
|
|
return $this->clientId;
|
|
}
|
|
|
|
public function getCategoryId(): ?int
|
|
{
|
|
return $this->categoryId;
|
|
}
|
|
|
|
public function getLogin(): ?string
|
|
{
|
|
return $this->login;
|
|
}
|
|
|
|
public function getUrl(): ?string
|
|
{
|
|
return $this->url;
|
|
}
|
|
|
|
public function getPass(): ?string
|
|
{
|
|
return $this->pass;
|
|
}
|
|
|
|
public function getKey(): ?string
|
|
{
|
|
return $this->key;
|
|
}
|
|
|
|
public function getNotes(): ?string
|
|
{
|
|
return $this->notes;
|
|
}
|
|
|
|
public function getOtherUserEdit(): ?int
|
|
{
|
|
return $this->otherUserEdit;
|
|
}
|
|
|
|
public function getOtherUserGroupEdit(): ?int
|
|
{
|
|
return $this->otherUserGroupEdit;
|
|
}
|
|
|
|
public function getDateAdd(): ?int
|
|
{
|
|
return $this->dateAdd;
|
|
}
|
|
|
|
public function getDateEdit(): ?int
|
|
{
|
|
return $this->dateEdit;
|
|
}
|
|
|
|
public function getCountView(): ?int
|
|
{
|
|
return $this->countView;
|
|
}
|
|
|
|
public function getCountDecrypt(): ?int
|
|
{
|
|
return $this->countDecrypt;
|
|
}
|
|
|
|
public function getIsPrivate(): ?int
|
|
{
|
|
return $this->isPrivate;
|
|
}
|
|
|
|
public function getIsPrivateGroup(): ?int
|
|
{
|
|
return $this->isPrivateGroup;
|
|
}
|
|
|
|
public function getPassDate(): ?int
|
|
{
|
|
return $this->passDate;
|
|
}
|
|
|
|
public function getPassDateChange(): ?int
|
|
{
|
|
return $this->passDateChange;
|
|
}
|
|
|
|
public function getParentId(): ?int
|
|
{
|
|
return $this->parentId;
|
|
}
|
|
|
|
public function getCategoryName(): ?string
|
|
{
|
|
return $this->categoryName;
|
|
}
|
|
|
|
public function getClientName(): ?string
|
|
{
|
|
return $this->clientName;
|
|
}
|
|
|
|
public function getUserGroupName(): ?string
|
|
{
|
|
return $this->userGroupName;
|
|
}
|
|
|
|
public function getUserName(): ?string
|
|
{
|
|
return $this->userName;
|
|
}
|
|
|
|
public function getUserLogin(): ?string
|
|
{
|
|
return $this->userLogin;
|
|
}
|
|
|
|
public function getUserEditName(): ?string
|
|
{
|
|
return $this->userEditName;
|
|
}
|
|
|
|
public function getUserEditLogin(): ?string
|
|
{
|
|
return $this->userEditLogin;
|
|
}
|
|
|
|
public function getPublicLinkHash(): ?string
|
|
{
|
|
return $this->publicLinkHash;
|
|
}
|
|
}
|