rdv: adapt entities + add fixtures

This commit is contained in:
nobohan
2021-07-16 09:55:07 +02:00
parent fdccdfe7b1
commit 75caf3fa14
9 changed files with 668 additions and 10 deletions

View File

@@ -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;