mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-02-11 22:08:41 +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 $name = '';
|
||||||
|
|
||||||
private $parent = null;
|
private $parent = null;
|
||||||
|
|
||||||
|
private $department = null;
|
||||||
|
|
||||||
private $description = '';
|
private $description = '';
|
||||||
|
|
||||||
|
|
@ -54,6 +56,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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user