git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3394 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
adametz 2018-05-22 15:35:56 +00:00
parent a3cf3a921d
commit cc0c353e1a
17 changed files with 658 additions and 489 deletions

View file

@ -97,6 +97,14 @@ class BookingRequest
*/
private $acceptTerms = false;
/*
private $acceptEntryRequirements = false;
private $acceptLegalRights = false;
*/
private $acceptPrivacy = false;
/**
* BookingRequest constructor.
*/
@ -617,6 +625,61 @@ class BookingRequest
$this->acceptTerms = $acceptTerms;
}
/**
* @return mixed
*/
/*
public function isAcceptEntryRequirements()
{
return $this->acceptEntryRequirements;
}
*/
/**
* @param mixed $acceptEntryRequirements
*/
/*
public function setAcceptEntryRequirements($acceptEntryRequirements)
{
$this->acceptEntryRequirements = $acceptEntryRequirements;
}
*/
/**
* @return mixed
*/
/*
public function isAcceptLegalRights()
{
return $this->acceptLegalRights;
}
*/
/**
* @param mixed $acceptLegalRights
*/
/*
public function setAcceptLegalRights($acceptLegalRights)
{
$this->acceptLegalRights = $acceptLegalRights;
}
*/
/**
* @return mixed
*/
public function isAcceptPrivacy()
{
return $this->acceptPrivacy;
}
/**
* @param mixed $acceptPrivacy
*/
public function setAcceptPrivacy($acceptPrivacy)
{
$this->acceptPrivacy = $acceptPrivacy;
}
/**
* @Assert\Callback
*/

View file

@ -8,6 +8,7 @@ namespace AppBundle\Entity;
use Symfony\Component\Validator\Constraints as Assert;
class ContactRequest
{
const MR = 1;
@ -64,6 +65,8 @@ class ContactRequest
/** @var \DateTime|null $end */
private $end;
private $acceptPrivacy = false;
/**
* @var int|null $duration
@ -358,4 +361,20 @@ class ContactRequest
{
$this->duration = $duration;
}
/**
* @return mixed
*/
public function isAcceptPrivacy()
{
return $this->acceptPrivacy;
}
/**
* @param mixed $acceptPrivacy
*/
public function setAcceptPrivacy($acceptPrivacy)
{
$this->acceptPrivacy = $acceptPrivacy;
}
}

View file

@ -83,6 +83,8 @@ class FewoBookingRequest
private $acceptTerms = false;
private $acceptPrivacy = false;
private $lodging;
private $season;
@ -337,6 +339,22 @@ class FewoBookingRequest
$this->acceptTerms = $acceptTerms;
}
/**
* @return mixed
*/
public function isAcceptPrivacy()
{
return $this->acceptPrivacy;
}
/**
* @param mixed $acceptPrivacy
*/
public function setAcceptPrivacy($acceptPrivacy)
{
$this->acceptPrivacy = $acceptPrivacy;
}
/**
* @return mixed
*/

View file

@ -26,6 +26,13 @@ class TravelCountry
*/
private $htmlInformation;
/**
* @var string
*
* @ORM\Column(name="entry_requirements", type="text", length=65535, nullable=false)
*/
private $entryRequirements;
/**
* @var integer
*
@ -105,6 +112,30 @@ class TravelCountry
return $this->htmlInformation;
}
/**
* Set entryRequirements
*
* @param string $entryRequirements
*
* @return TravelCountry
*/
public function setEntryRequirements($entryRequirements)
{
$this->entryRequirements = $entryRequirements;
return $this;
}
/**
* Get entryRequirements
*
* @return string
*/
public function getEntryRequirements()
{
return $this->entryRequirements;
}
/**
* Get id
*

View file

@ -19,6 +19,20 @@ class TravelOrganizer
*/
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
*
@ -75,6 +89,55 @@ class TravelOrganizer
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
*