src/Entity/Referentiel/JourSemaine.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Referentiel;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use App\Entity\Commun\EstActifTrait;
  5. /**
  6.  * @ORM\Entity(repositoryClass="App\Repository\Referentiel\JourSemaineRepository")
  7.  * @ORM\Table(name="efc.ref_jour_semaine")
  8.  */
  9. class JourSemaine
  10. {
  11.     use EstActifTrait;
  12.     // <editor-fold defaultstate="collapsed" desc="Attributs privés">
  13.     /**
  14.      * Auto-inc car pas d'ENUM (possibilité IHM un jour ?)
  15.      * 
  16.      * @ORM\Column(type="integer")
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="IDENTITY")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @ORM\Column(type="string", length=20)
  23.      */
  24.     private $libelle;
  25.     // </editor-fold>
  26.     // <editor-fold desc="Accesseurs">
  27.     function getId()
  28.     {
  29.         return $this->id;
  30.     }
  31.     function setId($id)
  32.     {
  33.         $this->id $id;
  34.     }
  35.     function getLibelle()
  36.     {
  37.         return $this->libelle;
  38.     }
  39.     function setLibelle($libelle)
  40.     {
  41.         $this->libelle $libelle;
  42.     }
  43.     // </editor-fold>
  44.     // <editor-fold desc="Méthodes publiques">
  45.     /**
  46.      * Constructor
  47.      */
  48.     public function __construct()
  49.     { }
  50.     // </editor-fold>
  51. }