src/Aviatur/GeneralBundle/Entity/OrderProductBrief.php line 11

Open in your IDE?
  1. <?php
  2. namespace Aviatur\GeneralBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity
  6.  * @ORM\Table(name="order_product_brief")
  7.  */
  8. class OrderProductBrief
  9. {
  10.     /**
  11.      * @ORM\Column(type="integer")
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue(strategy="AUTO")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(name="passengerData", type="text")
  18.      */
  19.     private $passengerdata;
  20.     /**
  21.      * @ORM\Column(name="itinerary", type="text")
  22.      */
  23.     private $itinerary;
  24.     /**
  25.      * @ORM\Column(name="bookingData", type="text")
  26.      */
  27.     private $bookingdata;
  28.     /**
  29.      * @ORM\Column(name="flightTrip", type="string", length=100)
  30.      */
  31.     private $flighttrip;
  32.     /**
  33.      * @ORM\Column(name="arrivalDate", type="datetime")
  34.      */
  35.     private $arrivaldate;
  36.     /**
  37.      * @ORM\Column(name="creationDate", type="datetime")
  38.      */
  39.     private $creationdate;
  40.     /**
  41.      * @ORM\Column(name="processDate", type="datetime")
  42.      */
  43.     private $processdate;
  44.     /**
  45.      * @ORM\Column(name="status", type="string", length=30)
  46.      */
  47.     private $status;
  48.     /**
  49.      * @ORM\Column(name="source", type="string", length=30)
  50.      */
  51.     private $source;
  52.     /**
  53.      *
  54.      * @ORM\ManyToOne(targetEntity="\Aviatur\GeneralBundle\Entity\OrderProduct", inversedBy="orderProductBrief", cascade={"persist", "detach", "remove"})
  55.      * @ORM\JoinColumns({
  56.      *   @ORM\JoinColumn(name="order_product_id", referencedColumnName="id")
  57.      * })
  58.      */
  59.     private ?\Aviatur\GeneralBundle\Entity\OrderProduct $orderProduct null;
  60.     /**
  61.      *
  62.      * @ORM\ManyToOne(targetEntity="\Aviatur\AgencyBundle\Entity\Agency")
  63.      * @ORM\JoinColumns({
  64.      *   @ORM\JoinColumn(name="agency_id", referencedColumnName="id")
  65.      * })
  66.      */
  67.     private ?\Aviatur\AgencyBundle\Entity\Agency $agency null;
  68.     /**
  69.      * Set id.
  70.      *
  71.      * @param string $id
  72.      *
  73.      * @return OrderProductBrief
  74.      */
  75.     public function setId($id)
  76.     {
  77.         $this->id $id;
  78.         return $this;
  79.     }
  80.     /**
  81.      * Get id.
  82.      *
  83.      * @return int
  84.      */
  85.     public function getId()
  86.     {
  87.         return $this->id;
  88.     }
  89.     /**
  90.      * Set passengerdata.
  91.      *
  92.      * @param string $passengerdata
  93.      *
  94.      * @return OrderProductBrief
  95.      */
  96.     public function setPassengerData($passengerdata)
  97.     {
  98.         $this->passengerdata $passengerdata;
  99.         return $this;
  100.     }
  101.     /**
  102.      * Get passengerdata.
  103.      *
  104.      * @return string
  105.      */
  106.     public function getPassengerData()
  107.     {
  108.         return $this->passengerdata;
  109.     }
  110.     /**
  111.      * Set itinerary.
  112.      *
  113.      * @param string $itinerary
  114.      *
  115.      * @return OrderProductBrief
  116.      */
  117.     public function setItinerary($itinerary)
  118.     {
  119.         $this->itinerary $itinerary;
  120.         return $this;
  121.     }
  122.     /**
  123.      * Get itinerary.
  124.      *
  125.      * @return string
  126.      */
  127.     public function getItinerary()
  128.     {
  129.         return $this->itinerary;
  130.     }
  131.     /**
  132.      * Set itinerary.
  133.      *
  134.      * @param string $bookingdata
  135.      *
  136.      * @return OrderProductBrief
  137.      */
  138.     public function setBookingdata($bookingdata)
  139.     {
  140.         $this->bookingdata $bookingdata;
  141.         return $this;
  142.     }
  143.     /**
  144.      * Get itinerary.
  145.      *
  146.      * @return string
  147.      */
  148.     public function getBookingdata()
  149.     {
  150.         return $this->bookingdata;
  151.     }
  152.     /**
  153.      * Set flightTrip.
  154.      *
  155.      * @param string $flightTrip
  156.      *
  157.      * @return OrderProductBrief
  158.      */
  159.     public function setFlighttrip($flightTrip)
  160.     {
  161.         $this->flighttrip $flightTrip;
  162.         return $this;
  163.     }
  164.     /**
  165.      * Get flightTrip.
  166.      *
  167.      * @return string
  168.      */
  169.     public function getFlighttrip()
  170.     {
  171.         return $this->flighttrip;
  172.     }
  173.     /**
  174.      * Set arrivalDate.
  175.      *
  176.      * @param string $arrivalDate
  177.      *
  178.      * @return OrderProductBrief
  179.      */
  180.     public function setArrivaldate($arrivalDate)
  181.     {
  182.         $this->arrivaldate $arrivalDate;
  183.         return $this;
  184.     }
  185.     /**
  186.      * Get arrivalDate.
  187.      *
  188.      * @return date
  189.      */
  190.     public function getArrivaldate()
  191.     {
  192.         return $this->arrivaldate;
  193.     }
  194.     /**
  195.      * Set creationDate.
  196.      *
  197.      * @param string $creationDate
  198.      *
  199.      * @return OrderProductBrief
  200.      */
  201.     public function setCreationdate($creationDate)
  202.     {
  203.         $this->creationdate $creationDate;
  204.         return $this;
  205.     }
  206.     /**
  207.      * Get creationDate.
  208.      *
  209.      * @return datetime
  210.      */
  211.     public function getCreationdate()
  212.     {
  213.         return $this->creationdate;
  214.     }
  215.     /**
  216.      * Set processDate.
  217.      *
  218.      * @param string $processDate
  219.      *
  220.      * @return OrderProductBrief
  221.      */
  222.     public function setProcessdate($processDate)
  223.     {
  224.         $this->processdate $processDate;
  225.         return $this;
  226.     }
  227.     /**
  228.      * Get processDate.
  229.      *
  230.      * @return datetime
  231.      */
  232.     public function getProcessdate()
  233.     {
  234.         return $this->processdte;
  235.     }
  236.     /**
  237.      * Set status.
  238.      *
  239.      * @param string $status
  240.      *
  241.      * @return OrderProductBrief
  242.      */
  243.     public function setStatus($status)
  244.     {
  245.         $this->status $status;
  246.         return $this;
  247.     }
  248.     /**
  249.      * Get status.
  250.      *
  251.      * @return string
  252.      */
  253.     public function getStatus()
  254.     {
  255.         return $this->status;
  256.     }
  257.     /**
  258.      * Set source.
  259.      *
  260.      * @param string $source
  261.      *
  262.      * @return OrderProductBrief
  263.      */
  264.     public function setSource($source)
  265.     {
  266.         $this->source $source;
  267.         return $this;
  268.     }
  269.     /**
  270.      * Get source.
  271.      *
  272.      * @return string
  273.      */
  274.     public function getSource()
  275.     {
  276.         return $this->source;
  277.     }
  278.     /**
  279.      * Set orderProduct.
  280.      *
  281.      * @param \Aviatur\GeneralBundle\Entity\OrderProduct $orderProduct
  282.      *
  283.      * @return OrderProductBrief
  284.      */
  285.     public function setOrderProduct(\Aviatur\GeneralBundle\Entity\OrderProduct $orderProduct null)
  286.     {
  287.         $this->orderProduct $orderProduct;
  288.         return $this;
  289.     }
  290.     /**
  291.      * Get orderProduct.
  292.      *
  293.      * @return int
  294.      */
  295.     public function getOrderProduct()
  296.     {
  297.         return $this->orderProduct;
  298.     }
  299.     /**
  300.      * Set agency.
  301.      *
  302.      * @param \Aviatur\AgencyBundle\Entity\Agency $agency
  303.      *
  304.      * @return OrderProductBrief
  305.      */
  306.     public function setAgency(\Aviatur\AgencyBundle\Entity\Agency $agency null)
  307.     {
  308.         $this->agency $agency;
  309.         return $this;
  310.     }
  311.     /**
  312.      * Get agency.
  313.      *
  314.      * @return int
  315.      */
  316.     public function getAgency()
  317.     {
  318.         return $this->agency;
  319.     }
  320. }