mirror of
https://github.com/Karaka-Management/oms-Knowledgebase.git
synced 2026-01-13 10:28:40 +00:00
67 lines
1.1 KiB
PHP
67 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.1
|
|
*
|
|
* @package TBD
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link http://website.orange-management.de
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Modules\Knowledgebase\Models;
|
|
|
|
/**
|
|
* Task class.
|
|
*
|
|
* @package Kanban
|
|
* @license OMS License 1.0
|
|
* @link http://website.orange-management.de
|
|
* @since 1.0.0
|
|
*/
|
|
class WikiCategory implements \JsonSerializable
|
|
{
|
|
private $id = 0;
|
|
|
|
private $name = '';
|
|
|
|
private $parent = null;
|
|
|
|
public function __construct()
|
|
{
|
|
}
|
|
|
|
public function getId() : int
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function getName() : string
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
public function setName(string $name) : void
|
|
{
|
|
$this->name = $name;
|
|
}
|
|
|
|
public function getParent() : ?int
|
|
{
|
|
return $this->parent;
|
|
}
|
|
|
|
public function setParent(int $parent) : void
|
|
{
|
|
$this->parent = $parent;
|
|
}
|
|
|
|
public function jsonSerialize() : array
|
|
{
|
|
return [];
|
|
}
|
|
}
|