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
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user