mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
rdv: adapt entities + add fixtures
This commit is contained in:
@@ -24,7 +24,7 @@ class CancelReason
|
||||
private $active;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="string", length=255)
|
||||
* @ORM\Column(type="json_array")
|
||||
*/
|
||||
private $canceledBy;
|
||||
|
||||
@@ -50,12 +50,12 @@ class CancelReason
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCanceledBy(): ?string
|
||||
public function getCanceledBy(): ?array
|
||||
{
|
||||
return $this->canceledBy;
|
||||
}
|
||||
|
||||
public function setCanceledBy(string $canceledBy): self
|
||||
public function setCanceledBy(array $canceledBy): self
|
||||
{
|
||||
$this->canceledBy = $canceledBy;
|
||||
|
||||
|
@@ -25,21 +25,21 @@ class Invite
|
||||
private User $user;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="string", length=255)
|
||||
* @ORM\Column(type="json_array")
|
||||
*/
|
||||
private $status;
|
||||
private $status = [];
|
||||
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
public function getStatus(): ?string
|
||||
public function getStatus(): ?array
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
|
||||
public function setStatus(string $status): self
|
||||
public function setStatus(array $status): self
|
||||
{
|
||||
$this->status = $status;
|
||||
|
||||
|
Reference in New Issue
Block a user