src/Entity/Vetoadom/Pays.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Vetoadom;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Pays
  6.  *
  7.  * @ORM\Table(name="pays", indexes={@ORM\Index(name="FK_fuseau_horaire", columns={"fuseau_horaire_id"})})
  8.  * @ORM\Entity(repositoryClass="App\Repository\Vetoadom\PaysRepository")
  9.  */
  10. class Pays
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var string
  22.      *
  23.      * @ORM\Column(name="nom", type="string", length=20, nullable=false)
  24.      */
  25.     private $nom;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="indicatif", type="string", length=5, nullable=false)
  30.      */
  31.     private $indicatif;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="monnaie", type="string", length=3, nullable=false)
  36.      */
  37.     private $monnaie;
  38.     /**
  39.      * @var string
  40.      *
  41.      * @ORM\Column(name="country_code", type="string", length=2, nullable=false)
  42.      */
  43.     private $countryCode;
  44.     /**
  45.      * @var string
  46.      *
  47.      * @ORM\Column(name="unite_deplacement", type="string", length=0, nullable=false)
  48.      */
  49.     private $uniteDeplacement;
  50.     /**
  51.      * @var \FuseauHoraire
  52.      *
  53.      * @ORM\ManyToOne(targetEntity="FuseauHoraire")
  54.      * @ORM\JoinColumns({
  55.      *   @ORM\JoinColumn(name="fuseau_horaire_id", referencedColumnName="id")
  56.      * })
  57.      */
  58.     private $fuseauHoraire;
  59.     public function getId(): ?int
  60.     {
  61.         return $this->id;
  62.     }
  63.     public function getNom(): ?string
  64.     {
  65.         return $this->nom;
  66.     }
  67.     public function setNom(string $nom): self
  68.     {
  69.         $this->nom $nom;
  70.         return $this;
  71.     }
  72.     public function getIndicatif(): ?string
  73.     {
  74.         return $this->indicatif;
  75.     }
  76.     public function setIndicatif(string $indicatif): self
  77.     {
  78.         $this->indicatif $indicatif;
  79.         return $this;
  80.     }
  81.     public function getMonnaie(): ?string
  82.     {
  83.         return $this->monnaie;
  84.     }
  85.     public function setMonnaie(string $monnaie): self
  86.     {
  87.         $this->monnaie $monnaie;
  88.         return $this;
  89.     }
  90.     public function getCountryCode(): ?string
  91.     {
  92.         return $this->countryCode;
  93.     }
  94.     public function setCountryCode(string $countryCode): self
  95.     {
  96.         $this->countryCode $countryCode;
  97.         return $this;
  98.     }
  99.     public function getUniteDeplacement(): ?string
  100.     {
  101.         return $this->uniteDeplacement;
  102.     }
  103.     public function setUniteDeplacement(string $uniteDeplacement): self
  104.     {
  105.         $this->uniteDeplacement $uniteDeplacement;
  106.         return $this;
  107.     }
  108.     public function getFuseauHoraire(): ?FuseauHoraire
  109.     {
  110.         return $this->fuseauHoraire;
  111.     }
  112.     public function setFuseauHoraire(?FuseauHoraire $fuseauHoraire): self
  113.     {
  114.         $this->fuseauHoraire $fuseauHoraire;
  115.         return $this;
  116.     }
  117. }