src/Entity/Pays.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\PaysRepository")
  6.  * @ORM\Table(name="pays")
  7.  */
  8. class Pays
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $paysid;
  16.     /**
  17.      * @ORM\Column(type="string", length=255)
  18.      */
  19.     public $libelle;
  20.     /**
  21.      * @ORM\Column(type="string", length=255)
  22.      */
  23.     public $libelle_fr;
  24.     /**
  25.      * @ORM\Column(type="boolean")
  26.      */
  27.     public $europe;
  28.     public function setPaysid(string $paysid): self {
  29.         $this->paysid $paysid;
  30.         return $this;
  31.     }
  32.     public function getPaysid(): ?string {
  33.         return $this->paysid;
  34.     }
  35.     public function setLibelle(string $libelle): self {
  36.         $this->libelle $libelle;
  37.         return $this;
  38.     }
  39.     public function getLibelle(): ?string {
  40.         return $this->libelle;
  41.     }
  42.     public function setLibelleFR(string $libelle_fr): self {
  43.         $this->libelle_fr $libelle_fr;
  44.         return $this;
  45.     }
  46.     public function getLibelleFR(): ?string {
  47.         return $this->libelle_fr;
  48.     }
  49.     public function setEurope(string $europe): self {
  50.         $this->europe $europe;
  51.         return $this;
  52.     }
  53.     public function getEurope(): ?string {
  54.         return $this->europe;
  55.     }
  56. }