<?php
namespace App\Entity;
use App\Repository\RefFonctionRepository;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* @ORM\Entity(repositoryClass=RefFonctionRepository::class)
* @Gedmo\Loggable
*/
class RefFonction
{
public const ID_SALARIE = '3';
const TYPE_POLYVALENT = 9;
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
* @Gedmo\Versioned
*/
private $fonctionLib;
public function __toString()
{
return $this->getFonctionLib();
}
public function getId(): ?int
{
return $this->id;
}
public function getFonctionLib(): ?string
{
return $this->fonctionLib;
}
public function setFonctionLib(string $fonctionLib): self
{
$this->fonctionLib = $fonctionLib;
return $this;
}
}