<?php
namespace Aviatur\GeneralBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="order_product_brief")
*/
class OrderProductBrief
{
/**
* @ORM\Column(type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @ORM\Column(name="passengerData", type="text")
*/
private $passengerdata;
/**
* @ORM\Column(name="itinerary", type="text")
*/
private $itinerary;
/**
* @ORM\Column(name="bookingData", type="text")
*/
private $bookingdata;
/**
* @ORM\Column(name="flightTrip", type="string", length=100)
*/
private $flighttrip;
/**
* @ORM\Column(name="arrivalDate", type="datetime")
*/
private $arrivaldate;
/**
* @ORM\Column(name="creationDate", type="datetime")
*/
private $creationdate;
/**
* @ORM\Column(name="processDate", type="datetime")
*/
private $processdate;
/**
* @ORM\Column(name="status", type="string", length=30)
*/
private $status;
/**
* @ORM\Column(name="source", type="string", length=30)
*/
private $source;
/**
*
* @ORM\ManyToOne(targetEntity="\Aviatur\GeneralBundle\Entity\OrderProduct", inversedBy="orderProductBrief", cascade={"persist", "detach", "remove"})
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="order_product_id", referencedColumnName="id")
* })
*/
private ?\Aviatur\GeneralBundle\Entity\OrderProduct $orderProduct = null;
/**
*
* @ORM\ManyToOne(targetEntity="\Aviatur\AgencyBundle\Entity\Agency")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="agency_id", referencedColumnName="id")
* })
*/
private ?\Aviatur\AgencyBundle\Entity\Agency $agency = null;
/**
* Set id.
*
* @param string $id
*
* @return OrderProductBrief
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set passengerdata.
*
* @param string $passengerdata
*
* @return OrderProductBrief
*/
public function setPassengerData($passengerdata)
{
$this->passengerdata = $passengerdata;
return $this;
}
/**
* Get passengerdata.
*
* @return string
*/
public function getPassengerData()
{
return $this->passengerdata;
}
/**
* Set itinerary.
*
* @param string $itinerary
*
* @return OrderProductBrief
*/
public function setItinerary($itinerary)
{
$this->itinerary = $itinerary;
return $this;
}
/**
* Get itinerary.
*
* @return string
*/
public function getItinerary()
{
return $this->itinerary;
}
/**
* Set itinerary.
*
* @param string $bookingdata
*
* @return OrderProductBrief
*/
public function setBookingdata($bookingdata)
{
$this->bookingdata = $bookingdata;
return $this;
}
/**
* Get itinerary.
*
* @return string
*/
public function getBookingdata()
{
return $this->bookingdata;
}
/**
* Set flightTrip.
*
* @param string $flightTrip
*
* @return OrderProductBrief
*/
public function setFlighttrip($flightTrip)
{
$this->flighttrip = $flightTrip;
return $this;
}
/**
* Get flightTrip.
*
* @return string
*/
public function getFlighttrip()
{
return $this->flighttrip;
}
/**
* Set arrivalDate.
*
* @param string $arrivalDate
*
* @return OrderProductBrief
*/
public function setArrivaldate($arrivalDate)
{
$this->arrivaldate = $arrivalDate;
return $this;
}
/**
* Get arrivalDate.
*
* @return date
*/
public function getArrivaldate()
{
return $this->arrivaldate;
}
/**
* Set creationDate.
*
* @param string $creationDate
*
* @return OrderProductBrief
*/
public function setCreationdate($creationDate)
{
$this->creationdate = $creationDate;
return $this;
}
/**
* Get creationDate.
*
* @return datetime
*/
public function getCreationdate()
{
return $this->creationdate;
}
/**
* Set processDate.
*
* @param string $processDate
*
* @return OrderProductBrief
*/
public function setProcessdate($processDate)
{
$this->processdate = $processDate;
return $this;
}
/**
* Get processDate.
*
* @return datetime
*/
public function getProcessdate()
{
return $this->processdte;
}
/**
* Set status.
*
* @param string $status
*
* @return OrderProductBrief
*/
public function setStatus($status)
{
$this->status = $status;
return $this;
}
/**
* Get status.
*
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* Set source.
*
* @param string $source
*
* @return OrderProductBrief
*/
public function setSource($source)
{
$this->source = $source;
return $this;
}
/**
* Get source.
*
* @return string
*/
public function getSource()
{
return $this->source;
}
/**
* Set orderProduct.
*
* @param \Aviatur\GeneralBundle\Entity\OrderProduct $orderProduct
*
* @return OrderProductBrief
*/
public function setOrderProduct(\Aviatur\GeneralBundle\Entity\OrderProduct $orderProduct = null)
{
$this->orderProduct = $orderProduct;
return $this;
}
/**
* Get orderProduct.
*
* @return int
*/
public function getOrderProduct()
{
return $this->orderProduct;
}
/**
* Set agency.
*
* @param \Aviatur\AgencyBundle\Entity\Agency $agency
*
* @return OrderProductBrief
*/
public function setAgency(\Aviatur\AgencyBundle\Entity\Agency $agency = null)
{
$this->agency = $agency;
return $this;
}
/**
* Get agency.
*
* @return int
*/
public function getAgency()
{
return $this->agency;
}
}