mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
rdv: adapt calendar entities: drop useless field and change field type
This commit is contained in:
@@ -11,6 +11,11 @@ use Doctrine\ORM\Mapping as ORM;
|
||||
*/
|
||||
class CancelReason
|
||||
{
|
||||
|
||||
const CANCELEDBY_USER = 'CANCELEDBY_USER';
|
||||
const CANCELEDBY_PERSON = 'CANCELEDBY_PERSON';
|
||||
const CANCELEDBY_DONOTCOUNT = 'CANCELEDBY_DONOTCOUNT';
|
||||
|
||||
/**
|
||||
* @ORM\Id
|
||||
* @ORM\GeneratedValue
|
||||
@@ -24,7 +29,7 @@ class CancelReason
|
||||
private $active;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="json_array")
|
||||
* @ORM\Column(type="string", length=255)
|
||||
*/
|
||||
private $canceledBy;
|
||||
|
||||
@@ -50,12 +55,12 @@ class CancelReason
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCanceledBy(): ?array
|
||||
public function getCanceledBy(): ?string
|
||||
{
|
||||
return $this->canceledBy;
|
||||
}
|
||||
|
||||
public function setCanceledBy(array $canceledBy): self
|
||||
public function setCanceledBy(string $canceledBy): self
|
||||
{
|
||||
$this->canceledBy = $canceledBy;
|
||||
|
||||
|
Reference in New Issue
Block a user