rdv MR review: change name of routes + others modifications

This commit is contained in:
nobohan
2021-09-13 11:58:48 +02:00
parent 503c97d8c6
commit c82efc4fd5
11 changed files with 40 additions and 40 deletions

View File

@@ -27,19 +27,19 @@ class CalendarRange
* @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\User")
* @groups({"read", "write"})
*/
private User $user;
private ?User $user = null;
/**
* @ORM\Column(type="datetimetz_immutable")
* @groups({"read", "write"})
*/
private \DateTimeImmutable $startDate;
private ?\DateTimeImmutable $startDate = null;
/**
* @ORM\Column(type="datetimetz_immutable")
* @groups({"read", "write"})
*/
private \DateTimeImmutable $endDate;
private ?\DateTimeImmutable $endDate = null;
/**
* @ORM\OneToMany(targetEntity=Calendar::class,