1
0

GroupMembership.php 616 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCA\User_LDAP\Db;
  8. use OCP\AppFramework\Db\Entity;
  9. /**
  10. * @method void setUserid(string $userid)
  11. * @method string getUserid()
  12. * @method void setGroupid(string $groupid)
  13. * @method string getGroupid()
  14. */
  15. class GroupMembership extends Entity {
  16. /** @var string */
  17. protected $groupid;
  18. /** @var string */
  19. protected $userid;
  20. public function __construct() {
  21. $this->addType('groupid', 'string');
  22. $this->addType('userid', 'string');
  23. }
  24. }