f7cloud_client/apps/richdocuments/lib/Db/Asset.php
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

42 lines
893 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2018 F7cloud GmbH and F7cloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Richdocuments\Db;
use OCP\AppFramework\Db\Entity;
use OCP\DB\Types;
/**
* @method void setUid(string $uid)
* @method string getUid()
* @method void setFileid(int $fileid)
* @method int getFileid()
* @method void setToken(string $token)
* @method string getToken()
* @method void setTimestamp(int $timestamp)
* @method int getTimestamp()
*/
class Asset extends Entity {
/** @var string */
protected $uid;
/** @var int */
protected $fileid;
/** @var string */
protected $token;
/** @var int */
protected $timestamp;
public function __construct() {
$this->addType('uid', Types::STRING);
$this->addType('fileid', Types::INTEGER);
$this->addType('token', Types::STRING);
$this->addType('timestamp', Types::INTEGER);
}
}