<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Gedmo\Translatable\Translatable;
/**
* Conformity
*
* @ORM\Table(name="conformity", uniqueConstraints={@ORM\UniqueConstraint(name="conformity_id_uindex", columns={"id"})})
* @ORM\Entity
*/
class Conformity
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="libelle", type="string", length=255, nullable=true)
* @Gedmo\Translatable
*/
private $libelle;
/**
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @param int $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getLibelle()
{
return $this->libelle;
}
/**
* @param string $libelle
*/
public function setLibelle($libelle)
{
$this->libelle = $libelle;
}
public function __toString()
{
// TODO: Implement __toString() method.
return $this->getLibelle();
}
}