295 lines
4.7 KiB
PHP
295 lines
4.7 KiB
PHP
<?php
|
|
|
|
namespace AppBundle\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* TravelOrganizer
|
|
*
|
|
* @ORM\Table(name="travel_organizer")
|
|
* @ORM\Entity
|
|
*/
|
|
class TravelOrganizer
|
|
{
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="name", type="string", length=255, nullable=true)
|
|
*/
|
|
private $name;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="insolvency", type="string", length=255, nullable=true)
|
|
*/
|
|
private $insolvency;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="legal_rights", type="text", length=65535, nullable=false)
|
|
*/
|
|
private $legalRights;
|
|
|
|
/**
|
|
* @var \DateTime
|
|
*
|
|
* @ORM\Column(name="rules_updated", type="date", nullable=true)
|
|
*/
|
|
private $rulesUpdated;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="file_name", type="string", length=255, nullable=true)
|
|
*/
|
|
private $fileName;
|
|
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="form_arb", type="string", length=255, nullable=true)
|
|
*/
|
|
private $formArb;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="file_form_page", type="string", length=255, nullable=true)
|
|
*/
|
|
private $fileFormPage;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="cms_id", type="integer", nullable=true)
|
|
*/
|
|
private $cmsId;
|
|
|
|
/**
|
|
* @var integer
|
|
*
|
|
* @ORM\Column(name="id", type="integer")
|
|
* @ORM\Id
|
|
* @ORM\GeneratedValue(strategy="IDENTITY")
|
|
*/
|
|
private $id;
|
|
|
|
|
|
|
|
/**
|
|
* Set name
|
|
*
|
|
* @param string $name
|
|
*
|
|
* @return TravelOrganizer
|
|
*/
|
|
public function setName($name)
|
|
{
|
|
$this->name = $name;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get name
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getName()
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* Set insolvency
|
|
*
|
|
* @param string $insolvency
|
|
*
|
|
* @return TravelOrganizer
|
|
*/
|
|
public function setInsolvency($insolvency)
|
|
{
|
|
$this->insolvency = $insolvency;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get insolvency
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getInsolvency()
|
|
{
|
|
return $this->insolvency;
|
|
}
|
|
|
|
/**
|
|
* Set legalRights
|
|
*
|
|
* @param string $legalRights
|
|
*
|
|
* @return TravelOrganizer
|
|
*/
|
|
public function setLegalRights($legalRights)
|
|
{
|
|
$this->legalRights = $legalRights;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get legalRights
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getLegalRights()
|
|
{
|
|
return $this->legalRights;
|
|
}
|
|
|
|
|
|
/**
|
|
* Set rulesUpdated
|
|
*
|
|
* @param \DateTime $rulesUpdated
|
|
*
|
|
* @return TravelOrganizer
|
|
*/
|
|
public function setRulesUpdated($rulesUpdated)
|
|
{
|
|
$this->rulesUpdated = $rulesUpdated;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get rulesUpdated
|
|
*
|
|
* @return \DateTime
|
|
*/
|
|
public function getRulesUpdated()
|
|
{
|
|
return $this->rulesUpdated;
|
|
}
|
|
|
|
public function getRulesUpdatedTime()
|
|
{
|
|
if($this->rulesUpdated){
|
|
return $this->rulesUpdated->getTimestamp();
|
|
}
|
|
return ;
|
|
|
|
}
|
|
|
|
/**
|
|
* Set fileName
|
|
*
|
|
* @param string $fileName
|
|
*
|
|
* @return TravelOrganizer
|
|
*/
|
|
public function setFileName($fileName)
|
|
{
|
|
$this->fileName = $fileName;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get fileName
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getFileName()
|
|
{
|
|
return $this->fileName;
|
|
}
|
|
|
|
/**
|
|
* Set formArb
|
|
*
|
|
* @param string $formArb
|
|
*
|
|
* @return TravelOrganizer
|
|
*/
|
|
public function setFormArb($formArb)
|
|
{
|
|
$this->formArb = $formArb;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get formArb
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getFormArb()
|
|
{
|
|
return $this->formArb;
|
|
}
|
|
|
|
|
|
/**
|
|
* Set fileFormPage
|
|
*
|
|
* @param string $fileFormPage
|
|
*
|
|
* @return TravelOrganizer
|
|
*/
|
|
public function setFileFormPage($fileFormPage)
|
|
{
|
|
$this->fileFormPage = $fileFormPage;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get fileFormPage
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getFileFormPage()
|
|
{
|
|
return $this->fileFormPage;
|
|
}
|
|
|
|
/**
|
|
* Set cmsId
|
|
*
|
|
* @param integer $cmsId
|
|
*
|
|
* @return TravelOrganizer
|
|
*/
|
|
public function setCmsId($cmsId)
|
|
{
|
|
$this->cmsId = $cmsId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get cmsId
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getCmsId()
|
|
{
|
|
return $this->cmsId;
|
|
}
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return integer
|
|
*/
|
|
public function getId()
|
|
{
|
|
return $this->id;
|
|
}
|
|
}
|