mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-01 06:26:15 +00:00
AccompanyingCourseDocument created
This commit is contained in:
parent
34df295801
commit
c51b129a5e
@ -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;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user