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

@@ -46,7 +46,7 @@ class Calendar
* @Groups({"read"})
* @Serializer\Groups({"calendar:read"})
*/
private User $user;
private ?User $user = null;
/**
* @ORM\ManyToOne(targetEntity="Chill\PersonBundle\Entity\AccompanyingPeriod")
@@ -101,20 +101,20 @@ class Calendar
* @ORM\Column(type="datetimetz_immutable")
* @Serializer\Groups({"calendar:read"})
*/
private \DateTimeImmutable $startDate;
private ?\DateTimeImmutable $startDate = null;
/**
* @ORM\Column(type="datetimetz_immutable")
* @Serializer\Groups({"calendar:read"})
*/
private \DateTimeImmutable $endDate;
private ?\DateTimeImmutable $endDate = null;
//TODO Lieu
/**
* @ORM\Column(type="string", length=255)
*/
private string $status;
private ?string $status = null;
/**
* @ORM\ManyToOne(targetEntity="CancelReason")
@@ -129,7 +129,7 @@ class Calendar
/**
* @ORM\ManyToOne(targetEntity="Chill\ActivityBundle\Entity\Activity")
*/
private Activity $activity;
private ?Activity $activity = null;
/**
* @ORM\Column(type="boolean", nullable=true)