mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-22 04:56:10 +01:00
Add getter and setter for caceled
This commit is contained in:
parent
ce723b01bc
commit
4a8abbe344
1 changed files with 20 additions and 6 deletions
|
@ -21,9 +21,9 @@ class Date extends AbstractEntity
|
||||||
protected $end = null;
|
protected $end = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var bool
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $canceled = false;
|
protected $canceled = "no";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \Wrm\Events\Domain\Model\Event
|
* @var \Wrm\Events\Domain\Model\Event
|
||||||
|
@ -69,10 +69,7 @@ class Date extends AbstractEntity
|
||||||
$this->end = $end;
|
$this->end = $end;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isCanceled(): bool
|
|
||||||
{
|
|
||||||
return $this->canceled;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Event
|
* @return Event
|
||||||
|
@ -107,4 +104,21 @@ class Date extends AbstractEntity
|
||||||
{
|
{
|
||||||
return $this->_languageUid;
|
return $this->_languageUid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getCanceled(): string
|
||||||
|
{
|
||||||
|
return $this->canceled;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $canceled
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function setCanceled(string $canceled)
|
||||||
|
{
|
||||||
|
$this->canceled = $canceled;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue