<?phpnamespace App\Entity;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: \App\Repository\AlertRepository::class)]class Alert implements \Stringable{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: 'integer')] private ?int $id = null; #[ORM\Column(type: 'string', length: 255, nullable: true)] private ?string $kind = ""; #[ORM\Column(type: 'string', length: 255, nullable: true)] private ?string $title= ""; #[ORM\Column(type: 'text', nullable: true)] private ?string $short_description= ""; #[ORM\Column(type: 'datetime', nullable: true)] private mixed $date_debut; #[ORM\Column(type: 'datetime', nullable: true)] private mixed $date_fin; #[ORM\Column(type: 'string', length: 255, nullable: true)] private ?string $link= ""; public function getId(): ?int { return $this->id; } public function getKind(): ?string { return $this->kind; } public function setKind(?string $kind): self { $this->kind = $kind; return $this; } public function getTitle(): ?string { return $this->title; } public function setTitle(?string $title): self { $this->title = $title; return $this; } public function getShortDescription(): ?string { return $this->short_description; } public function setShortDescription(?string $short_description): self { $this->short_description = $short_description; return $this; } public function getDateDebut(): ?\DateTimeInterface { return $this->date_debut; } public function setDateDebut(?\DateTimeInterface $date_debut): self { $this->date_debut = $date_debut; return $this; } public function getDateFin(): ?\DateTimeInterface { return $this->date_fin; } public function setDateFin(?\DateTimeInterface $date_fin): self { $this->date_fin = $date_fin; return $this; } public function getLink(): ?string { return $this->link; } public function setLink(?string $link): self { $this->link = $link; return $this; } public function __toString(): string { return (string) $this->title; }}