* Suchergebnisse zu Reiseprogrammen verlinken
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3286 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
23b2c7a7e8
commit
56d6e88451
6 changed files with 78 additions and 5 deletions
|
|
@ -331,6 +331,11 @@ class TravelProgram
|
|||
*/
|
||||
private $options;
|
||||
|
||||
/**
|
||||
* @ORM\OneToOne(targetEntity="AppBundle\Entity\Page", mappedBy="travelProgram")
|
||||
*/
|
||||
private $page;
|
||||
|
||||
/**
|
||||
* @var array|TravelDate[]
|
||||
*/
|
||||
|
|
@ -1513,4 +1518,28 @@ class TravelProgram
|
|||
}
|
||||
return $this->getImages()[0];
|
||||
}
|
||||
|
||||
/**
|
||||
* Set page
|
||||
*
|
||||
* @param \AppBundle\Entity\Page $page
|
||||
*
|
||||
* @return TravelProgram
|
||||
*/
|
||||
public function setPage(\AppBundle\Entity\Page $page = null)
|
||||
{
|
||||
$this->page = $page;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get page
|
||||
*
|
||||
* @return \AppBundle\Entity\Page
|
||||
*/
|
||||
public function getPage()
|
||||
{
|
||||
return $this->page;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue