Commit 991203d4 authored by Mat's avatar Mat
Browse files

anticipe la prochaine OneToMany entre Lettre et Groupe

parent 1b57c370
......@@ -40,6 +40,12 @@ class Lettre
*/
private $infos;
/**
* @var int
* @ORM\Column(name="id_groupe", type="integer", nullable=false)
*/
private $groupe;
/**
* @var string
* @ORM\Column(name="reference", type="string", length=16, unique=true)
......@@ -346,4 +352,27 @@ class Lettre
return $this->infos;
}
/**
* Set groupe
*
* @param integer $groupe
*
* @return Lettre
*/
public function setGroupe($groupe)
{
$this->groupe = $groupe;
return $this;
}
/**
* Get groupe
*
* @return integer
*/
public function getGroupe()
{
return $this->groupe;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment