<?php
namespace App\Entity;
use App\Repository\LogEsRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: LogEsRepository::class)]
class LogEs
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private int $id;
#[ORM\Column(type: 'text', nullable: true)]
private ?string $recherche= null;
#[ORM\Column(type: 'datetime', nullable: true)]
private mixed $date;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $site= null;
public function getId(): ?int
{
return $this->id;
}
public function getRecherche(): ?string
{
return $this->recherche;
}
public function setRecherche(?string $recherche): self
{
$this->recherche = $recherche;
return $this;
}
public function getDate(): ?\DateTimeInterface
{
return $this->date;
}
public function setDate(?\DateTimeInterface $date): self
{
$this->date = $date;
return $this;
}
public function getSite(): ?string
{
return $this->site;
}
public function setSite(?string $site): self
{
$this->site = $site;
return $this;
}
}