<?php
namespace App\Entity;
/**
* Meteorologie.
*/
class Meteorologie
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $code;
/**
* @var string
*/
private $titre;
/**
* @var string
*/
private $description;
/**
* @var int
*/
private $rang;
/**
* @var int
*/
private $idBdOrigine;
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $TempsMeteoJour;
/**
* Constructor.
*/
public function __construct()
{
$this->TempsMeteoJour = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set code.
*
* @param string $code
*
* @return Meteorologie
*/
public function setCode($code)
{
$this->code = $code;
return $this;
}
/**
* Get code.
*
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* Set titre.
*
* @param string $titre
*
* @return Meteorologie
*/
public function setTitre($titre)
{
$this->titre = $titre;
return $this;
}
/**
* Get titre.
*
* @return string
*/
public function getTitre()
{
return $this->titre;
}
/**
* Set description.
*
* @param string $description
*
* @return Meteorologie
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description.
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set rang.
*
* @param int $rang
*
* @return Meteorologie
*/
public function setRang($rang)
{
$this->rang = $rang;
return $this;
}
/**
* Get rang.
*
* @return int
*/
public function getRang()
{
return $this->rang;
}
/**
* Set idBdOrigine.
*
* @param int $idBdOrigine
*
* @return Meteorologie
*/
public function setIdBdOrigine($idBdOrigine)
{
$this->idBdOrigine = $idBdOrigine;
return $this;
}
/**
* Get idBdOrigine.
*
* @return int
*/
public function getIdBdOrigine()
{
return $this->idBdOrigine;
}
/**
* Add tempsMeteoJour.
*
* @param \App\Entity\TempsMeteoJour $tempsMeteoJour
*
* @return Meteorologie
*/
public function addTempsMeteoJour(TempsMeteoJour $tempsMeteoJour)
{
$this->TempsMeteoJour[] = $tempsMeteoJour;
return $this;
}
/**
* Remove tempsMeteoJour.
*
* @param \App\Entity\TempsMeteoJour $tempsMeteoJour
*/
public function removeTempsMeteoJour(TempsMeteoJour $tempsMeteoJour)
{
$this->TempsMeteoJour->removeElement($tempsMeteoJour);
}
/**
* Get tempsMeteoJour.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getTempsMeteoJour()
{
return $this->TempsMeteoJour;
}
}