0
0
Fork 0
mirror of https://github.com/verdigado/organization_folders.git synced 2024-12-06 11:22:41 +01:00

implemented Organization Provider models

This commit is contained in:
Jonathan Treffler 2024-10-13 18:06:53 +02:00
parent 0e197d02cb
commit 92cef844d4
5 changed files with 120 additions and 47 deletions

View file

@ -0,0 +1,29 @@
<?php
namespace OCA\OrganizationFolders\Model;
class OrganizationRole implements \JsonSerializable {
public function __construct(
private int $id,
private int $organizationId,
private string $friendlyName,
private string $membersGroup,
) {
}
public function getId(): int {
return $this->id;
}
public function getOrganizationId(): int {
return $this->organizationId;
}
public function getFriendlyName(): string {
return $this->friendlyName;
}
public function getMembersGroup(): string {
return $this->membersGroup;
}
}