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

@ -26,6 +26,8 @@ class Position implements ArrayableInterface, \JsonSerializable
private $parent = null; private $parent = null;
private $department = null;
private $description = ''; private $description = '';
protected $status = Status::INACTIVE; protected $status = Status::INACTIVE;
@ -55,6 +57,16 @@ class Position implements ArrayableInterface, \JsonSerializable
$this->parent = $parent; $this->parent = $parent;
} }
public function getDepartment()
{
return $this->department;
}
public function setDepartment(int $department)
{
$this->department = $department;
}
public function getStatus() : int public function getStatus() : int
{ {
return $this->status; return $this->status;