mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-01-21 12:38:40 +00:00
Add department as member
This commit is contained in:
parent
bea6c446bd
commit
f16cbbc07b
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user