mirror of
https://github.com/nextcloud/server.git
synced 2024-12-30 17:08:35 +00:00
8d8891c5bc
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
32 lines
616 B
PHP
32 lines
616 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace OCA\User_LDAP\Db;
|
|
|
|
use OCP\AppFramework\Db\Entity;
|
|
|
|
/**
|
|
* @method void setUserid(string $userid)
|
|
* @method string getUserid()
|
|
* @method void setGroupid(string $groupid)
|
|
* @method string getGroupid()
|
|
*/
|
|
class GroupMembership extends Entity {
|
|
/** @var string */
|
|
protected $groupid;
|
|
|
|
/** @var string */
|
|
protected $userid;
|
|
|
|
public function __construct() {
|
|
$this->addType('groupid', 'string');
|
|
$this->addType('userid', 'string');
|
|
}
|
|
}
|