<?php
namespace App\Entity;
use App\Repository\RefTypePersonnelRepository;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* @ORM\Entity(repositoryClass=RefTypePersonnelRepository::class)
* @Gedmo\Loggable
*/
class RefTypePersonnel
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=20)
* @Gedmo\Versioned
*/
private $typeLib;
/**
* @ORM\Column(type="string", length=10)
* @Gedmo\Versioned
*/
private $typeLibCourt;
public function __toString()
{
return $this->getTypeLib();
}
public function getId(): ?int
{
return $this->id;
}
public function getTypeLib(): ?string
{
return $this->typeLib;
}
public function setTypeLib(string $typeLib): self
{
$this->typeLib = $typeLib;
return $this;
}
public function getTypeLibCourt(): ?string
{
return $this->typeLibCourt;
}
public function setTypeLibCourt(string $typeLibCourt): self
{
$this->typeLibCourt = $typeLibCourt;
return $this;
}
}