mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
rdv: adapt entities + add fixtures
This commit is contained in:
@@ -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