mirror of
https://github.com/nextcloud/server.git
synced 2025-01-31 06:43:12 +00:00
dae7c159f7
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
30 lines
620 B
PHP
30 lines
620 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
namespace OC\KnownUser;
|
|
|
|
use OCP\AppFramework\Db\Entity;
|
|
|
|
/**
|
|
* @method void setKnownTo(string $knownTo)
|
|
* @method string getKnownTo()
|
|
* @method void setKnownUser(string $knownUser)
|
|
* @method string getKnownUser()
|
|
*/
|
|
class KnownUser extends Entity {
|
|
/** @var string */
|
|
protected $knownTo;
|
|
|
|
/** @var string */
|
|
protected $knownUser;
|
|
|
|
public function __construct() {
|
|
$this->addType('knownTo', 'string');
|
|
$this->addType('knownUser', 'string');
|
|
}
|
|
}
|