* @author Dennis Eichhorn * @copyright Dennis Eichhorn * @license OMS License 1.0 * @version 1.0.0 * @link http://orange-management.com */ declare(strict_types=1); namespace Modules\Knowledgebase\Models; /** * Task class. * * @category Kanban * @package Modules * @author OMS Development Team * @author Dennis Eichhorn * @license OMS License 1.0 * @link http://orange-management.com * @since 1.0.0 */ class WikiCategory implements \JsonSerializable { private $id = 0; private $name = ''; private $parent = null; public function __construct() { $this->createdAt = new \DateTime('now'); } 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 []; } }