Files
sysPass/lib/SP/DataModel/AccountSearchVData.php
2022-12-10 12:07:38 +01:00

211 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 AccountSearchData
*
* @package SP\DataModel
*/
class AccountSearchVData extends Model
{
public ?string $publicLinkHash = null;
protected ?int $id = 0;
protected ?string $name = '';
protected ?int $clientId = 0;
protected ?string $clientName = null;
protected ?int $categoryId = null;
protected ?string $categoryName = null;
protected ?int $userId = 0;
protected ?string $userName = null;
protected ?string $userLogin = null;
protected ?int $userGroupId = 0;
protected ?string $userGroupName = null;
protected ?int $userEditId = 0;
protected ?string $userEditName = null;
protected ?string $userEditLogin = null;
protected ?string $login = null;
protected ?string $url = null;
protected ?string $notes = null;
protected ?int $otherUserEdit = null;
protected ?int $otherUserGroupEdit = null;
protected ?int $dateEdit = null;
protected ?int $isPrivate = null;
protected ?int $isPrivateGroup = null;
protected ?int $passDate = null;
protected ?int $passDateChange = null;
protected ?int $parentId = null;
protected ?int $num_files = null;
protected ?int $publicLinkDateExpire = null;
protected ?int $publicLinkTotalCountViews = null;
public function getPublicLinkHash(): ?string
{
return $this->publicLinkHash;
}
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 getNotes(): ?string
{
return $this->notes;
}
public function getOtherUserEdit(): ?int
{
return $this->otherUserEdit;
}
public function getOtherUserGroupEdit(): ?int
{
return $this->otherUserGroupEdit;
}
public function getIsPrivate(): ?int
{
return $this->isPrivate;
}
public function getIsPrivateGroup(): ?int
{
return $this->isPrivateGroup;
}
public function getDateEdit(): ?int
{
return $this->dateEdit;
}
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 getNumFiles(): ?int
{
return $this->num_files;
}
public function getPublicLinkDateExpire(): ?int
{
return $this->publicLinkDateExpire;
}
public function getPublicLinkTotalCountViews(): ?int
{
return $this->publicLinkTotalCountViews;
}
}