git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3283 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
75a065758f
commit
7422f06e90
261 changed files with 83347 additions and 0 deletions
131
trunk/src/AppBundle/Entity/TravelCountry.php
Normal file
131
trunk/src/AppBundle/Entity/TravelCountry.php
Normal file
|
|
@ -0,0 +1,131 @@
|
|||
<?php
|
||||
|
||||
namespace AppBundle\Entity;
|
||||
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
/**
|
||||
* TravelCountry
|
||||
*
|
||||
* @ORM\Table(name="travel_country", indexes={@ORM\Index(name="FK_travel_country_page", columns={"feedback_page_id"})})
|
||||
* @ORM\Entity
|
||||
*/
|
||||
class TravelCountry
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @ORM\Column(name="name", type="string", length=255, nullable=true)
|
||||
*/
|
||||
private $name;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @ORM\Column(name="html_information", type="text", length=65535, nullable=false)
|
||||
*/
|
||||
private $htmlInformation;
|
||||
|
||||
/**
|
||||
* @var integer
|
||||
*
|
||||
* @ORM\Column(name="id", type="integer")
|
||||
* @ORM\Id
|
||||
* @ORM\GeneratedValue(strategy="IDENTITY")
|
||||
*/
|
||||
private $id;
|
||||
|
||||
/**
|
||||
* @var \AppBundle\Entity\Page
|
||||
*
|
||||
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\Page")
|
||||
* @ORM\JoinColumns({
|
||||
* @ORM\JoinColumn(name="feedback_page_id", referencedColumnName="id")
|
||||
* })
|
||||
*/
|
||||
private $feedbackPage;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Set name
|
||||
*
|
||||
* @param string $name
|
||||
*
|
||||
* @return TravelCountry
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get name
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set htmlInformation
|
||||
*
|
||||
* @param string $htmlInformation
|
||||
*
|
||||
* @return TravelCountry
|
||||
*/
|
||||
public function setHtmlInformation($htmlInformation)
|
||||
{
|
||||
$this->htmlInformation = $htmlInformation;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get htmlInformation
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getHtmlInformation()
|
||||
{
|
||||
return $this->htmlInformation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get id
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set feedbackPage
|
||||
*
|
||||
* @param \AppBundle\Entity\Page $feedbackPage
|
||||
*
|
||||
* @return TravelCountry
|
||||
*/
|
||||
public function setFeedbackPage(\AppBundle\Entity\Page $feedbackPage = null)
|
||||
{
|
||||
$this->feedbackPage = $feedbackPage;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get feedbackPage
|
||||
*
|
||||
* @return \AppBundle\Entity\Page
|
||||
*/
|
||||
public function getFeedbackPage()
|
||||
{
|
||||
return $this->feedbackPage;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue