<?php
namespace App\Entity;
use App\Repository\RefPaysRepository;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* @ORM\Entity(repositoryClass=RefPaysRepository::class)
* @Gedmo\Loggable
*/
class RefPays
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=50)
* @Gedmo\Versioned
*/
private $paysLib;
public function __toString()
{
return $this->getPaysLib();
}
public function getId(): ?int
{
return $this->id;
}
public function getPaysLib(): ?string
{
return $this->paysLib;
}
public function setPaysLib(string $paysLib): self
{
$this->paysLib = $paysLib;
return $this;
}
}