AccompanyingCourseDocument created

This commit is contained in:
Julie Lenaerts 2021-09-03 11:02:56 +02:00
parent 34df295801
commit c51b129a5e

View File

@ -0,0 +1,36 @@
<?php
use Chill\DocStoreBundle\Entity\Document;
use Chill\PersonBundle\Entity\AccompanyingPeriod;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table("chill_doc.accompanying_course_document")
* @ORM\Entity()
*/
class AccompanyingCourseDocument extends Document
{
/**
* @ORM\ManyToOne(targetEntity="Chill\PersonBundle\Entity\AccompanyingPeriod")
* @var AccompanyingPeriod
*/
private $course;
/**
* Get accompanying course
*
* @return \Chill\PersonBundle\Entity\AccompanyingPeriod
*/
public function getCourse()
{
return $this->course;
}
public function setCourse($course): self
{
$this->course = $course;
return $this;
}
}