2023-07-20 10:55:24 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
/**
|
2024-05-29 09:32:54 +00:00
|
|
|
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2023-07-20 10:55:24 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
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');
|
|
|
|
}
|
|
|
|
}
|