aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/KnownUser/KnownUser.php
blob: 808c0400c6e5c08597f395d76542173c4abdefb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?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');
	}
}