Group FEWO | Upload Image FEWO | POS
Gruppen für die FEWO Upload Images bei den Gruppen + vor und nach Pos Sortierungen bei den Images Einbau in den Frontend Silder Bilder zuweisen pre + page + post git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3367 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
ff986cd437
commit
1293c19bc6
25 changed files with 1249 additions and 37 deletions
|
|
@ -33,6 +33,16 @@ class FewoLodging
|
|||
private $name;
|
||||
|
||||
/**
|
||||
* @var \AppBundle\Entity\FewoLodgingGroup
|
||||
*
|
||||
* @ORM\ManyToOne(targetEntity="FewoLodgingGroup")
|
||||
* @ORM\JoinColumns({
|
||||
* @ORM\JoinColumn(name="group_id", referencedColumnName="id")
|
||||
* })
|
||||
*/
|
||||
private $group;
|
||||
|
||||
/**
|
||||
* @var \AppBundle\Entity\FewoLodgingType
|
||||
*
|
||||
* @ORM\ManyToOne(targetEntity="FewoLodgingType")
|
||||
|
|
@ -119,6 +129,7 @@ class FewoLodging
|
|||
|
||||
/**
|
||||
* @ORM\OneToMany(targetEntity="FewoLodgingImage", mappedBy="lodging", cascade={"persist", "remove"})
|
||||
* @ORM\OrderBy({"pos" = "ASC"})
|
||||
*/
|
||||
private $images;
|
||||
|
||||
|
|
@ -428,6 +439,31 @@ class FewoLodging
|
|||
return $this->calendarVisible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set type
|
||||
*
|
||||
* @param \AppBundle\Entity\FewoLodgingGroup $group
|
||||
*
|
||||
* @return FewoLodging
|
||||
*/
|
||||
public function setGroup(\AppBundle\Entity\FewoLodgingGroup $group = null)
|
||||
{
|
||||
$this->group = $group;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get type
|
||||
*
|
||||
* @return \AppBundle\Entity\FewoLodgingGroup
|
||||
*/
|
||||
public function getGroup()
|
||||
{
|
||||
return $this->group;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set type
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue