Add department as member

This commit is contained in:
Dennis Eichhorn 2017-07-19 13:00:03 +02:00 committed by GitHub
parent bea6c446bd
commit f16cbbc07b

View File

@ -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
{