0
0
Fork 0
mirror of https://github.com/verdigado/organization_folders.git synced 2024-11-22 12:40:28 +01:00
organization_folders/lib/Db/Resource.php

23 lines
539 B
PHP
Raw Normal View History

2024-10-15 17:10:48 +02:00
<?php
namespace OCA\OrganizationFolders\Db;
use JsonSerializable;
use OCP\AppFramework\Db\Entity;
abstract class Resource extends Entity implements JsonSerializable {
protected $organizationFolderId;
2024-10-15 17:10:48 +02:00
protected $parentResource;
protected $name;
protected $active;
protected $lastUpdatedTimestamp;
public function __construct() {
$this->addType('organizationFolderId','integer');
2024-10-15 17:10:48 +02:00
$this->addType('parentResource','integer');
$this->addType('active','bool');
$this->addType('lastUpdatedTimestamp','integer');
}
}