mirror of
https://github.com/verdigado/organization_folders.git
synced 2024-11-22 12:40:28 +01:00
23 lines
525 B
PHP
23 lines
525 B
PHP
|
<?php
|
||
|
|
||
|
namespace OCA\OrganizationFolders\Db;
|
||
|
|
||
|
use JsonSerializable;
|
||
|
|
||
|
use OCP\AppFramework\Db\Entity;
|
||
|
|
||
|
abstract class Resource extends Entity implements JsonSerializable {
|
||
|
protected $groupFolderId;
|
||
|
protected $parentResource;
|
||
|
protected $name;
|
||
|
protected $active;
|
||
|
protected $lastUpdatedTimestamp;
|
||
|
|
||
|
public function __construct() {
|
||
|
$this->addType('groupFolderId','integer');
|
||
|
$this->addType('parentResource','integer');
|
||
|
$this->addType('active','bool');
|
||
|
$this->addType('lastUpdatedTimestamp','integer');
|
||
|
}
|
||
|
}
|