Files
sysPass/inc/SP/DataModel/PublicLinkBaseData.class.php
nuxsmin 931e3e75d5 * [MOD] Event logs are now logged in app lagnguage instead of user language.
* [MOD] Improved actions handling.
* [FIX] Minor bugfixes.
2017-01-15 22:33:11 +01:00

116 lines
2.5 KiB
PHP

<?php
/**
* sysPass
*
* @author nuxsmin
* @link http://syspass.org
* @copyright 2012-2017, 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;
defined('APP_ROOT') || die();
/**
* Class PublicLinkBaseData
*
* @package SP\DataModel
*/
class PublicLinkBaseData extends DataModelBase
{
/**
* @var int
*/
public $publicLink_id = 0;
/**
* @var int
*/
public $publicLink_itemId = 0;
/**
* @var string
*/
public $publicLink_hash = '';
/**
* @var PublicLinkData
*/
public $publicLink_linkData;
/**
* @return int
*/
public function getPublicLinkId()
{
return (int)$this->publicLink_id;
}
/**
* @param int $publicLink_id
*/
public function setPublicLinkId($publicLink_id)
{
$this->publicLink_id = (int)$publicLink_id;
}
/**
* @return string
*/
public function getPublicLinkHash()
{
return $this->publicLink_hash;
}
/**
* @param string $publicLink_hash
*/
public function setPublicLinkHash($publicLink_hash)
{
$this->publicLink_hash = $publicLink_hash;
}
/**
* @return PublicLinkData
*/
public function getPublicLinkLinkData()
{
return $this->publicLink_linkData;
}
/**
* @param PublicLinkData $publicLink_linkData
*/
public function setPublicLinkLinkData($publicLink_linkData)
{
$this->publicLink_linkData = $publicLink_linkData;
}
/**
* @return int
*/
public function getPublicLinkItemId()
{
return (int)$this->publicLink_itemId;
}
/**
* @param int $publicLink_itemId
*/
public function setPublicLinkItemId($publicLink_itemId)
{
$this->publicLink_itemId = (int)$publicLink_itemId;
}
}