2021-03-09 14:31:28 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
2021-06-04 15:52:51 -04:00
|
|
|
|
2021-03-09 14:31:28 -05:00
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2021-03-09 14:31:28 -05:00
|
|
|
*/
|
|
|
|
|
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');
|
|
|
|
|
}
|
|
|
|
|
}
|