<?php
namespace App\Entity\Parametrage;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* TODO : schema parametrage ou pas ?
* @ORM\Table(name="parametrage.module")
*/
class Module {
/**
* @ORM\Column(type="integer")
* @ORM\Id
* Pas d'auto-inc car IDs mappés à une enum
* @see App\Entity\Parametrage\EnumModule
*/
private $id;
/**
* @ORM\Column(type="string", length=70)
*/
private $libelle;
/**
* @ORM\Column(type="boolean")
*/
private $active;
/**
* Get id
*
* @return integer
*/
public function getId() {
return $this->id;
}
/**
* Set libelle
*
* @param string $libelle
*
* @return Parametre
*/
public function setLibelle($libelle) {
$this->libelle = $libelle;
return $this;
}
/**
* Get libelle
*
* @return string
*/
public function getLibelle() {
return $this->libelle;
}
/**
* Set active
*
* @param boolean $active
*
* @return Module
*/
public function setActive($active=true) {
$this->active = $active;
return $this;
}
/**
* Get active
*
* @return boolean
*/
public function getActive() {
return $this->active;
}
}