<?php
namespace App\Entity;
use App\Repository\RefGenreRepository;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* @ORM\Entity(repositoryClass=RefGenreRepository::class)
* @Gedmo\Loggable
*/
class RefGenre
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=20)
* @Gedmo\Versioned
*/
private $genreLib;
/**
* @ORM\Column(type="string", length=10)
* @Gedmo\Versioned
*/
private $genreLibCourt;
public function __toString()
{
return $this->getGenreLib();
}
public function getId(): ?int
{
return $this->id;
}
public function getGenreLib(): ?string
{
return $this->genreLib;
}
public function setGenreLib(string $genreLib): self
{
$this->genreLib = $genreLib;
return $this;
}
public function getGenreLibCourt(): ?string
{
return $this->genreLibCourt;
}
public function setGenreLibCourt(string $genreLibCourt): self
{
$this->genreLibCourt = $genreLibCourt;
return $this;
}
}