src/Aviatur/GeneralBundle/Entity/HistoricalOrderProduct.php line 13

Open in your IDE?
  1. <?php
  2. namespace Aviatur\GeneralBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * HistoricalOrderProduct.
  6.  *
  7.  * @ORM\Table(name="historical_order_product")
  8.  * @ORM\Entity(repositoryClass="Aviatur\GeneralBundle\Entity\HistoricalOrderProductRepository")
  9.  */
  10. class HistoricalOrderProduct
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer")
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var string
  22.      *
  23.      * @ORM\Column(name="payRequest", type="text", nullable=true)
  24.      */
  25.     private $payrequest;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="payResponse", type="text", nullable=true)
  30.      */
  31.     private $payresponse;
  32.     /**
  33.      * @var \DateTime
  34.      *
  35.      * @ORM\Column(name="updatingDate", type="datetime", nullable=false)
  36.      */
  37.     private $updatingdate;
  38.     /**
  39.      *
  40.      * @ORM\ManyToOne(targetEntity="Aviatur\GeneralBundle\Entity\OrderProduct", inversedBy="historicalOrderProduct")
  41.      * @ORM\JoinColumns({
  42.      *   @ORM\JoinColumn(name="order_product_id", referencedColumnName="id")
  43.      * })
  44.      */
  45.     private ?\Aviatur\GeneralBundle\Entity\OrderProduct $orderProduct null;
  46.     /**
  47.      * @var string
  48.      *
  49.      * @ORM\Column(name="publicKey", type="string", length=255, nullable=true)
  50.      */
  51.     private $publickey;
  52.     /**
  53.      * Get id.
  54.      *
  55.      * @return int
  56.      */
  57.     public function getId()
  58.     {
  59.         return $this->id;
  60.     }
  61.     /**
  62.      * Set payrequest.
  63.      *
  64.      * @param string $payrequest
  65.      *
  66.      * @return HistoricalOrderProduct
  67.      */
  68.     public function setPayrequest($payrequest)
  69.     {
  70.         $this->payrequest $payrequest;
  71.         return $this;
  72.     }
  73.     /**
  74.      * Get payrequest.
  75.      *
  76.      * @return string
  77.      */
  78.     public function getPayrequest()
  79.     {
  80.         return $this->payrequest;
  81.     }
  82.     /**
  83.      * Set payresponse.
  84.      *
  85.      * @param string $payresponse
  86.      *
  87.      * @return HistoricalOrderProduct
  88.      */
  89.     public function setPayresponse($payresponse)
  90.     {
  91.         $this->payresponse $payresponse;
  92.         return $this;
  93.     }
  94.     /**
  95.      * Get payresponse.
  96.      *
  97.      * @return string
  98.      */
  99.     public function getPayresponse()
  100.     {
  101.         return $this->payresponse;
  102.     }
  103.     /**
  104.      * Set updatingdate.
  105.      *
  106.      * @param \DateTime $updatingdate
  107.      *
  108.      * @return HistoricalOrderProduct
  109.      */
  110.     public function setUpdatingdate($updatingdate)
  111.     {
  112.         $this->updatingdate $updatingdate;
  113.         return $this;
  114.     }
  115.     /**
  116.      * Get updatingdate.
  117.      *
  118.      * @return \DateTime
  119.      */
  120.     public function getUpdatingdate()
  121.     {
  122.         return $this->updatingdate;
  123.     }
  124.     /**
  125.      * Set publickey.
  126.      *
  127.      * @param string $publickey
  128.      *
  129.      * @return HistoricalOrderProduct
  130.      */
  131.     public function setPublickey($publickey)
  132.     {
  133.         $this->publickey $publickey;
  134.         return $this;
  135.     }
  136.     /**
  137.      * Get publickey.
  138.      *
  139.      * @return string
  140.      */
  141.     public function getPublickey()
  142.     {
  143.         return $this->publickey;
  144.     }
  145.     /**
  146.      * Set orderProduct.
  147.      *
  148.      * @param \Aviatur\GeneralBundle\Entity\OrderProduct $orderProduct
  149.      *
  150.      * @return HistoricalOrderProduct
  151.      */
  152.     public function setOrderProduct(\Aviatur\GeneralBundle\Entity\OrderProduct $orderProduct null)
  153.     {
  154.         $this->orderProduct $orderProduct;
  155.         return $this;
  156.     }
  157.     /**
  158.      * Get orderProduct.
  159.      *
  160.      * @return \Aviatur\GeneralBundle\Entity\OrderProduct
  161.      */
  162.     public function getOrderProduct()
  163.     {
  164.         return $this->orderProduct;
  165.     }
  166. }