<?php
namespace App\Entity;
use App\Repository\CookieRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=CookieRepository::class)
*/
class Cookie
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $titre;
/**
* @ORM\Column(type="text")
*/
private $contenue;
public function getId(): ?int
{
return $this->id;
}
public function getTitre(): ?string
{
return $this->titre;
}
public function setTitre(string $titre): self
{
$this->titre = $titre;
return $this;
}
public function getContenue(): ?string
{
return $this->contenue;
}
public function setContenue(string $contenue): self
{
$this->contenue = $contenue;
return $this;
}
}