* worklog time spent added
This commit is contained in:
@@ -112,6 +112,11 @@ class KanbanEntry implements \JsonSerializable
|
||||
*/
|
||||
private $answerCode;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
private $worklog = 0;
|
||||
|
||||
/**
|
||||
* KanbanEntry constructor.
|
||||
*/
|
||||
@@ -486,6 +491,24 @@ class KanbanEntry implements \JsonSerializable
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getWorklog(): int
|
||||
{
|
||||
return $this->worklog;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $worklog
|
||||
* @return KanbanEntry
|
||||
*/
|
||||
public function setWorklog(int $worklog): KanbanEntry
|
||||
{
|
||||
$this->worklog = $worklog;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
@@ -511,6 +534,7 @@ class KanbanEntry implements \JsonSerializable
|
||||
'mhwebExternal' => $this->getMhwebExternal(),
|
||||
'team' => $this->getTeam(),
|
||||
'answerCode' => $this->getAnswerCode(),
|
||||
'worklog' => $this->getWorklog(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user