Files
afup/sources/AppBundle/Event/Model/TicketSpecialPrice.php
2018-03-18 10:53:21 +01:00

271 lines
4.4 KiB
PHP

<?php
namespace AppBundle\Event\Model;
use CCMBenchmark\Ting\Entity\NotifyProperty;
use CCMBenchmark\Ting\Entity\NotifyPropertyInterface;
class TicketSpecialPrice implements NotifyPropertyInterface
{
use NotifyProperty;
/**
* @var int
*/
private $id;
/**
* @var int
*/
private $eventId;
/**
* @var float
*/
private $price;
/**
* @var string
*/
private $token;
/**
* @var \DateTime
*/
private $dateStart;
/**
* @var \DateTime
*/
private $dateEnd;
/**
* @var string
*/
private $description;
/**
* @var TicketType
*/
private $ticketType;
/**
* @var \DateTime
*/
private $createdOn;
/**
* @var int
*/
private $creatorId;
/**
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @param int $id
*
* @return $this
*/
public function setId($id)
{
$this->propertyChanged('id', $this->id, $id);
$this->id = $id;
return $this;
}
/**
* @return int
*/
public function getEventId()
{
return $this->eventId;
}
/**
* @param int $eventId
*
* @return $this
*/
public function setEventId($eventId)
{
$this->propertyChanged('eventId', $this->eventId, $eventId);
$this->eventId = $eventId;
return $this;
}
/**
* @return float
*/
public function getPrice()
{
return $this->price;
}
/**
* @param float $price
*
* @return $this
*/
public function setPrice($price)
{
$this->propertyChanged('price', $this->price, $price);
$this->price = $price;
return $this;
}
/**
* @return \DateTime
*/
public function getDateStart()
{
return $this->dateStart;
}
/**
* @param \DateTime $dateStart
*
* @return $this
*/
public function setDateStart(\DateTime $dateStart)
{
$this->propertyChanged('dateStart', $this->dateStart, $dateStart);
$this->dateStart = $dateStart;
return $this;
}
/**
* @return \DateTime
*/
public function getDateEnd()
{
return $this->dateEnd;
}
/**
* @param \DateTime $dateEnd
*
* @return $this
*/
public function setDateEnd(\DateTime $dateEnd)
{
$this->propertyChanged('dateEnd', $this->dateEnd, $dateEnd);
$this->dateEnd = $dateEnd;
return $this;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string $description
* @return $this
*/
public function setDescription($description)
{
$this->propertyChanged('description', $this->description, $description);
$this->description = $description;
return $this;
}
/**
* @return TicketType
*/
public function getTicketType()
{
return $this->ticketType;
}
/**
* @param TicketType $ticketType
*
* @return $this
*/
public function setTicketType(TicketType $ticketType)
{
$this->ticketType = $ticketType;
return $this;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
/**
* @param string $token
*
* @return $this
*/
public function setToken($token)
{
$this->propertyChanged('token', $this->token, $token);
$this->token = $token;
return $this;
}
/**
* @return \DateTime
*/
public function getCreatedOn()
{
return $this->createdOn;
}
/**
* @param \DateTime $createdOn
*
* @return $this
*/
public function setCreatedOn($createdOn)
{
$this->propertyChanged('createdOn', $this->createdOn, $createdOn);
$this->createdOn = $createdOn;
return $this;
}
/**
* @return int
*/
public function getCreatorId()
{
return $this->creatorId;
}
/**
* @param int $creatorId
*
* @return $this
*/
public function setCreatorId($creatorId)
{
$this->propertyChanged('creatorId', $this->creatorId, $creatorId);
$this->creatorId = $creatorId;
return $this;
}
}