add completed bool to scheduled node
This commit is contained in:
parent
f2840a3eb1
commit
1b2e44389c
3 changed files with 15 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ class ScheduledNode
|
|||
private DateTimeImmutable $date,
|
||||
private Plan $plan,
|
||||
private Node $node,
|
||||
private bool $completed,
|
||||
) {}
|
||||
|
||||
public function getId(): int
|
||||
|
|
@ -34,4 +35,14 @@ class ScheduledNode
|
|||
{
|
||||
return $this->node;
|
||||
}
|
||||
|
||||
public function getCompleted(): bool
|
||||
{
|
||||
return $this->completed;
|
||||
}
|
||||
|
||||
public function setCompleted(bool $complete): void
|
||||
{
|
||||
$this->completed = $complete;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue