<?php
namespace App\Entity\Vetoadom;
use Doctrine\ORM\Mapping as ORM;
/**
* Pays
*
* @ORM\Table(name="pays", indexes={@ORM\Index(name="FK_fuseau_horaire", columns={"fuseau_horaire_id"})})
* @ORM\Entity(repositoryClass="App\Repository\Vetoadom\PaysRepository")
*/
class Pays
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="nom", type="string", length=20, nullable=false)
*/
private $nom;
/**
* @var string
*
* @ORM\Column(name="indicatif", type="string", length=5, nullable=false)
*/
private $indicatif;
/**
* @var string
*
* @ORM\Column(name="monnaie", type="string", length=3, nullable=false)
*/
private $monnaie;
/**
* @var string
*
* @ORM\Column(name="country_code", type="string", length=2, nullable=false)
*/
private $countryCode;
/**
* @var string
*
* @ORM\Column(name="unite_deplacement", type="string", length=0, nullable=false)
*/
private $uniteDeplacement;
/**
* @var \FuseauHoraire
*
* @ORM\ManyToOne(targetEntity="FuseauHoraire")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="fuseau_horaire_id", referencedColumnName="id")
* })
*/
private $fuseauHoraire;
public function getId(): ?int
{
return $this->id;
}
public function getNom(): ?string
{
return $this->nom;
}
public function setNom(string $nom): self
{
$this->nom = $nom;
return $this;
}
public function getIndicatif(): ?string
{
return $this->indicatif;
}
public function setIndicatif(string $indicatif): self
{
$this->indicatif = $indicatif;
return $this;
}
public function getMonnaie(): ?string
{
return $this->monnaie;
}
public function setMonnaie(string $monnaie): self
{
$this->monnaie = $monnaie;
return $this;
}
public function getCountryCode(): ?string
{
return $this->countryCode;
}
public function setCountryCode(string $countryCode): self
{
$this->countryCode = $countryCode;
return $this;
}
public function getUniteDeplacement(): ?string
{
return $this->uniteDeplacement;
}
public function setUniteDeplacement(string $uniteDeplacement): self
{
$this->uniteDeplacement = $uniteDeplacement;
return $this;
}
public function getFuseauHoraire(): ?FuseauHoraire
{
return $this->fuseauHoraire;
}
public function setFuseauHoraire(?FuseauHoraire $fuseauHoraire): self
{
$this->fuseauHoraire = $fuseauHoraire;
return $this;
}
}