Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Personne_Poste {
- /**
- * @ORM\Id
- * @ORM\ManyToOne(targetEntity="Proetco\FrontBundle\Entity\Personne")
- * @ORM\JoinColumn(name="personne", nullable=false)
- */
- private $personne;
- /**
- * @ORM\Id
- * @ORM\ManyToOne(targetEntity="Proetco\FrontBundle\Entity\Poste")
- * @ORM\JoinColumn(name="poste", nullable=false)
- */
- private $poste;
- /**
- * @var date $DateDebut
- * @ORM\Id
- * @ORM\Column(name="DateDebut", type="date")
- */
- private $DateDebut;
- /**
- * @var date $DateFin
- *
- * @ORM\Column(name="DateFin", type="date")
- */
- private $DateFin;
- /**
- * Set DateDebut
- *
- * @param date $dateDebut
- */
- public function setDateDebut($dateDebut) {
- $this->DateDebut = $dateDebut;
- }
Add Comment
Please, Sign In to add comment