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