Nicht benötigte entities entfernt; Verlinkung auf Startseite
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3287 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
56d6e88451
commit
dde3b91724
3 changed files with 1 additions and 238 deletions
|
|
@ -49,7 +49,7 @@
|
|||
</button>
|
||||
|
||||
<div id="brand" class="navbar-brand">
|
||||
<a href="index.html">{% image '@AppBundle/Resources/public/images/wlogo.png' %}<img src="{{ asset_url }}" alt="">{% endimage %}</a>
|
||||
<a href="/">{% image '@AppBundle/Resources/public/images/wlogo.png' %}<img src="{{ asset_url }}" alt="">{% endimage %}</a>
|
||||
</div>
|
||||
</div><!-- end navbar-header -->
|
||||
|
||||
|
|
|
|||
|
|
@ -1,103 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace AppBundle\Entity;
|
||||
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
/**
|
||||
* TravelProgramDestination
|
||||
*
|
||||
* @ORM\Table(name="travel_program_destination", indexes={@ORM\Index(name="FK_travel_program_destination_travel_program", columns={"program_id"}), @ORM\Index(name="FK_travel_program_destination_travel_destination", columns={"destination_id"})})
|
||||
* @ORM\Entity
|
||||
*/
|
||||
class TravelProgramDestination
|
||||
{
|
||||
/**
|
||||
* @var integer
|
||||
*
|
||||
* @ORM\Column(name="id", type="integer")
|
||||
* @ORM\Id
|
||||
* @ORM\GeneratedValue(strategy="IDENTITY")
|
||||
*/
|
||||
private $id;
|
||||
|
||||
/**
|
||||
* @var \AppBundle\Entity\TravelProgram
|
||||
*
|
||||
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\TravelProgram")
|
||||
* @ORM\JoinColumns({
|
||||
* @ORM\JoinColumn(name="program_id", referencedColumnName="id")
|
||||
* })
|
||||
*/
|
||||
private $program;
|
||||
|
||||
/**
|
||||
* @var \AppBundle\Entity\TravelDestination
|
||||
*
|
||||
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\TravelDestination")
|
||||
* @ORM\JoinColumns({
|
||||
* @ORM\JoinColumn(name="destination_id", referencedColumnName="id")
|
||||
* })
|
||||
*/
|
||||
private $destination;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get id
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set program
|
||||
*
|
||||
* @param \AppBundle\Entity\TravelProgram $program
|
||||
*
|
||||
* @return TravelProgramDestination
|
||||
*/
|
||||
public function setProgram(\AppBundle\Entity\TravelProgram $program = null)
|
||||
{
|
||||
$this->program = $program;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get program
|
||||
*
|
||||
* @return \AppBundle\Entity\TravelProgram
|
||||
*/
|
||||
public function getProgram()
|
||||
{
|
||||
return $this->program;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set destination
|
||||
*
|
||||
* @param \AppBundle\Entity\TravelDestination $destination
|
||||
*
|
||||
* @return TravelProgramDestination
|
||||
*/
|
||||
public function setDestination(\AppBundle\Entity\TravelDestination $destination = null)
|
||||
{
|
||||
$this->destination = $destination;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get destination
|
||||
*
|
||||
* @return \AppBundle\Entity\TravelDestination
|
||||
*/
|
||||
public function getDestination()
|
||||
{
|
||||
return $this->destination;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,134 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace AppBundle\Entity;
|
||||
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
/**
|
||||
* TravelProgramRelated
|
||||
*
|
||||
* @ORM\Table(name="travel_program_related", indexes={@ORM\Index(name="FK_travel_program_related_travel_program", columns={"program_1"}), @ORM\Index(name="FK_travel_program_related_travel_program_2", columns={"program_2"})})
|
||||
* @ORM\Entity
|
||||
*/
|
||||
class TravelProgramRelated
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @ORM\Column(name="description", type="string", length=255, nullable=true)
|
||||
*/
|
||||
private $description;
|
||||
|
||||
/**
|
||||
* @var integer
|
||||
*
|
||||
* @ORM\Column(name="id", type="integer")
|
||||
* @ORM\Id
|
||||
* @ORM\GeneratedValue(strategy="IDENTITY")
|
||||
*/
|
||||
private $id;
|
||||
|
||||
/**
|
||||
* @var \AppBundle\Entity\TravelProgram
|
||||
*
|
||||
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\TravelProgram")
|
||||
* @ORM\JoinColumns({
|
||||
* @ORM\JoinColumn(name="program_1", referencedColumnName="id")
|
||||
* })
|
||||
*/
|
||||
private $program1;
|
||||
|
||||
/**
|
||||
* @var \AppBundle\Entity\TravelProgram
|
||||
*
|
||||
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\TravelProgram")
|
||||
* @ORM\JoinColumns({
|
||||
* @ORM\JoinColumn(name="program_2", referencedColumnName="id")
|
||||
* })
|
||||
*/
|
||||
private $program2;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Set description
|
||||
*
|
||||
* @param string $description
|
||||
*
|
||||
* @return TravelProgramRelated
|
||||
*/
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get description
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get id
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set program1
|
||||
*
|
||||
* @param \AppBundle\Entity\TravelProgram $program1
|
||||
*
|
||||
* @return TravelProgramRelated
|
||||
*/
|
||||
public function setProgram1(\AppBundle\Entity\TravelProgram $program1 = null)
|
||||
{
|
||||
$this->program1 = $program1;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get program1
|
||||
*
|
||||
* @return \AppBundle\Entity\TravelProgram
|
||||
*/
|
||||
public function getProgram1()
|
||||
{
|
||||
return $this->program1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set program2
|
||||
*
|
||||
* @param \AppBundle\Entity\TravelProgram $program2
|
||||
*
|
||||
* @return TravelProgramRelated
|
||||
*/
|
||||
public function setProgram2(\AppBundle\Entity\TravelProgram $program2 = null)
|
||||
{
|
||||
$this->program2 = $program2;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get program2
|
||||
*
|
||||
* @return \AppBundle\Entity\TravelProgram
|
||||
*/
|
||||
public function getProgram2()
|
||||
{
|
||||
return $this->program2;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue