From f16cbbc07bbcfd524fa0874e81996461ffd46e68 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 19 Jul 2017 13:00:03 +0200 Subject: [PATCH] Add department as member --- Models/Position.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Models/Position.php b/Models/Position.php index fcf2ab1..06dfcf8 100644 --- a/Models/Position.php +++ b/Models/Position.php @@ -25,6 +25,8 @@ class Position implements ArrayableInterface, \JsonSerializable private $name = ''; private $parent = null; + + private $department = null; private $description = ''; @@ -54,6 +56,16 @@ class Position implements ArrayableInterface, \JsonSerializable { $this->parent = $parent; } + + public function getDepartment() + { + return $this->department; + } + + public function setDepartment(int $department) + { + $this->department = $department; + } public function getStatus() : int {