<?php
namespace App\Entity;
use App\Repository\MotRechercherRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=MotRechercherRepository::class)
*/
class MotRechercher
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="text")
*/
private $mot;
/**
* @ORM\Column(type="integer")
*/
private $points;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $dateendUpdate;
public function getId(): ?int
{
return $this->id;
}
public function getMot(): ?string
{
return $this->mot;
}
public function setMot(string $mot): self
{
$this->mot = $mot;
return $this;
}
public function getPoints(): ?int
{
return $this->points;
}
public function setPoints(int $points): self
{
$this->points = $points;
return $this;
}
public function getDateendUpdate(): ?\DateTimeInterface
{
return $this->dateendUpdate;
}
public function setDateendUpdate(?\DateTimeInterface $dateendUpdate): self
{
$this->dateendUpdate = $dateendUpdate;
return $this;
}
}