Olivier Massot hai 11 meses
pai
achega
3cf72dd234
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  1. 3 0
      src/Entity/Booking/AbstractBooking.php
  2. 1 0
      src/Entity/Message/Email.php

+ 3 - 0
src/Entity/Booking/AbstractBooking.php

@@ -32,6 +32,9 @@ abstract class AbstractBooking
     #[ORM\GeneratedValue]
     protected ?int $id = null;
 
+    #[ORM\Column(length: 255, nullable: false)]
+    protected string $discr;
+
     #[ORM\Column]
     protected string $name;
 

+ 1 - 0
src/Entity/Message/Email.php

@@ -56,6 +56,7 @@ class Email extends AbstractMessage
         $this->reports = new ArrayCollection();
         $this->files = new ArrayCollection();
         $this->tags = new ArrayCollection();
+        parent::__construct();
     }
 
     public function getDiscr(): ?string