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

reference organization folder by id not groupfolder id (same id, different nomenclature)

This commit is contained in:
Jonathan Treffler 2024-10-30 01:49:41 +01:00
parent efca199c7f
commit 949e1a42d1
5 changed files with 15 additions and 11 deletions

View file

@ -7,14 +7,14 @@ use JsonSerializable;
use OCP\AppFramework\Db\Entity;
abstract class Resource extends Entity implements JsonSerializable {
protected $groupFolderId;
protected $organizationFolderId;
protected $parentResource;
protected $name;
protected $active;
protected $lastUpdatedTimestamp;
public function __construct() {
$this->addType('groupFolderId','integer');
$this->addType('organizationFolderId','integer');
$this->addType('parentResource','integer');
$this->addType('active','bool');
$this->addType('lastUpdatedTimestamp','integer');