<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use App\Repository\MentionsLegalesRepository;
#[ORM\Entity(repositoryClass: MentionsLegalesRepository::class)]
class MentionsLegales
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 1024)]
private $texte;
public function getId(): ?int
{
return $this->id;
}
public function getTexte(): ?string
{
return $this->texte;
}
public function setTexte(string $texte): self
{
$this->texte = $texte;
return $this;
}
}