<?php
namespace App\Entity;
use Doctrine\Common\Collections\ArrayCollection;
/**
* TypeFenetre.
*/
class TypeFenetre
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $code;
/**
* @var string
*/
private $titre;
/**
* @var string
*/
private $description;
/**
* @var int
*/
private $rang;
/**
* @var int
*/
private $idBdOrigine;
/**
* Constructor.
*/
public function __construct()
{
$this->TypeFenetreUtiliser = new ArrayCollection();
}
public function __toString()
{
return $this->titre;
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set code.
*
* @param string $code
*
* @return TypeFenetre
*/
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 TypeFenetre
*/
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 TypeFenetre
*/
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 TypeFenetre
*/
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 TypeFenetre
*/
public function setIdBdOrigine($idBdOrigine)
{
$this->idBdOrigine = $idBdOrigine;
return $this;
}
/**
* Get idBdOrigine.
*
* @return int
*/
public function getIdBdOrigine()
{
return $this->idBdOrigine;
}
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $TypeFenetreUtiliser;
/**
* Add typeFenetreUtiliser.
*
* @param \App\Entity\TypeFenetreUtiliser $typeFenetreUtiliser
*
* @return TypeFenetre
*/
public function addTypeFenetreUtiliser(TypeFenetreUtiliser $typeFenetreUtiliser)
{
$this->TypeFenetreUtiliser[] = $typeFenetreUtiliser;
return $this;
}
/**
* Remove typeFenetreUtiliser.
*
* @param \App\Entity\TypeFenetreUtiliser $typeFenetreUtiliser
*/
public function removeTypeFenetreUtiliser(TypeFenetreUtiliser $typeFenetreUtiliser)
{
$this->TypeFenetreUtiliser->removeElement($typeFenetreUtiliser);
}
/**
* Get typeFenetreUtiliser.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getTypeFenetreUtiliser()
{
return $this->TypeFenetreUtiliser;
}
}