#
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3475 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
edb2a8612f
commit
9421cf8c5c
2 changed files with 196 additions and 0 deletions
68
trunk/src/AppBundle/Entity/TravelNationality.php
Normal file
68
trunk/src/AppBundle/Entity/TravelNationality.php
Normal file
|
|
@ -0,0 +1,68 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace AppBundle\Entity;
|
||||||
|
|
||||||
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TravelNationality
|
||||||
|
*
|
||||||
|
* @ORM\Table(name="travel_nationality")
|
||||||
|
* @ORM\Entity
|
||||||
|
*/
|
||||||
|
class TravelNationality
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @var integer
|
||||||
|
*
|
||||||
|
* @ORM\Column(name="id", type="integer")
|
||||||
|
* @ORM\Id
|
||||||
|
* @ORM\GeneratedValue(strategy="IDENTITY")
|
||||||
|
*/
|
||||||
|
private $id;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*
|
||||||
|
* @ORM\Column(name="name", type="string", length=255, nullable=true)
|
||||||
|
*/
|
||||||
|
private $name;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get id
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getId()
|
||||||
|
{
|
||||||
|
return $this->id;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set name
|
||||||
|
*
|
||||||
|
* @param string $name
|
||||||
|
*
|
||||||
|
* @return TravelNationality
|
||||||
|
*/
|
||||||
|
public function setName($name)
|
||||||
|
{
|
||||||
|
$this->name = $name;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get name
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getName()
|
||||||
|
{
|
||||||
|
return $this->name;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
128
trunk/src/AppBundle/Entity/TravelNationalityRequirement.php
Normal file
128
trunk/src/AppBundle/Entity/TravelNationalityRequirement.php
Normal file
|
|
@ -0,0 +1,128 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace AppBundle\Entity;
|
||||||
|
|
||||||
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TravelNationalityRequirement
|
||||||
|
* @ORM\Table(name="travel_nationality_requirement")
|
||||||
|
* @ORM\Entity(repositoryClass="AppBundle\Entity\TravelNationalityRequirementRepository")
|
||||||
|
*/
|
||||||
|
class TravelNationalityRequirement
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @var integer
|
||||||
|
*
|
||||||
|
* @ORM\Column(name="id", type="integer")
|
||||||
|
* @ORM\Id
|
||||||
|
* @ORM\GeneratedValue(strategy="IDENTITY")
|
||||||
|
*/
|
||||||
|
private $id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var integer
|
||||||
|
*
|
||||||
|
* @ORM\Column(name="travel_country_id", type="integer", nullable=true)
|
||||||
|
*/
|
||||||
|
private $travelCountryId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var integer
|
||||||
|
*
|
||||||
|
* @ORM\Column(name="travel_nationality_id", type="integer", nullable=true)
|
||||||
|
*/
|
||||||
|
private $travelNationalityId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*
|
||||||
|
* @ORM\Column(name="text", type="text", length=65535, nullable=true)
|
||||||
|
*/
|
||||||
|
private $text;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get id
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getId()
|
||||||
|
{
|
||||||
|
return $this->id;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set travelCountryId
|
||||||
|
*
|
||||||
|
* @param integer $travelCountryId
|
||||||
|
*
|
||||||
|
* @return TravelNationalityRequirement
|
||||||
|
*/
|
||||||
|
public function setTravelCountryId($travelCountryId)
|
||||||
|
{
|
||||||
|
$this->travelCountryId = $travelCountryId;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get travelCountryId
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getTravelCountryId()
|
||||||
|
{
|
||||||
|
return $this->travelCountryId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set travelNationalityId
|
||||||
|
*
|
||||||
|
* @param integer $travelNationalityId
|
||||||
|
*
|
||||||
|
* @return TravelNationalityRequirement
|
||||||
|
*/
|
||||||
|
public function setTravelNationalityId($travelNationalityId)
|
||||||
|
{
|
||||||
|
$this->travelNationalityId = $travelNationalityId;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get travelNationalityId
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getTravelNationalityId()
|
||||||
|
{
|
||||||
|
return $this->travelNationalityId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set text
|
||||||
|
*
|
||||||
|
* @param string $text
|
||||||
|
*
|
||||||
|
* @return TravelNationalityRequirement
|
||||||
|
*/
|
||||||
|
public function setText($text)
|
||||||
|
{
|
||||||
|
$this->text = $text;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get text
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getText()
|
||||||
|
{
|
||||||
|
return $this->text;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue