src/Entity/TransaccionLinea.php line 13

  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * TransaccionLinea
  6.  *
  7.  * @ORM\Table()
  8.  * @ORM\Entity
  9.  */
  10. class TransaccionLinea
  11. {
  12.     /**
  13.      * @var integer
  14.      *
  15.      * @ORM\Column(name="id", type="integer")
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     /**
  21.     /**
  22.     * @ORM\ManyToOne(targetEntity="Transaccion", cascade={"merge"}, inversedBy="lineas")
  23.     * @ORM\JoinColumn(name="reserva", referencedColumnName="id", nullable=true)
  24.     */
  25.     private $transaccion;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="erpCode", type="string", length=255, nullable=true)
  30.      */
  31.     private $erpCode;
  32.     /**
  33.      * @ORM\ManyToOne(targetEntity="Divisa", cascade={"merge"})
  34.      * @ORM\JoinColumn(name="divisaDestino", referencedColumnName="id")
  35.      */
  36.     private $divisaDestino;
  37.     /**
  38.      * @var string
  39.      *
  40.      * @ORM\Column(name="cantidad", type="string", length=255)
  41.      */
  42.     private $cantidad;
  43.     /**
  44.      * @var string
  45.      *
  46.      * @ORM\Column(name="ticket", type="string", length=255, nullable=true)
  47.      */
  48.     private $ticket;
  49.     /**
  50.      * Get id
  51.      *
  52.      * @return integer 
  53.      */
  54.     public function getId()
  55.     {
  56.         return $this->id;
  57.     }
  58.     /**
  59.      * Set transaccion
  60.      *
  61.      * @param string $transaccion
  62.      * @return TransaccionLinea
  63.      */
  64.     public function setTransaccion($transaccion)
  65.     {
  66.         $this->transaccion $transaccion;
  67.         return $this;
  68.     }
  69.     /**
  70.      * Get transaccion
  71.      *
  72.      * @return string 
  73.      */
  74.     public function getTransaccion()
  75.     {
  76.         return $this->transaccion;
  77.     }
  78.     /**
  79.      * Set erpCode
  80.      *
  81.      * @param string $erpCode
  82.      * @return TransaccionLinea
  83.      */
  84.     public function setErpCode($erpCode)
  85.     {
  86.         $this->erpCode $erpCode;
  87.         return $this;
  88.     }
  89.     /**
  90.      * Get erpCode
  91.      *
  92.      * @return string 
  93.      */
  94.     public function getErpCode()
  95.     {
  96.         return $this->erpCode;
  97.     }
  98.     /**
  99.      * Set divisaDestino
  100.      *
  101.      * @param string $divisaDestino
  102.      * @return TransaccionLinea
  103.      */
  104.     public function setDivisaDestino($divisaDestino)
  105.     {
  106.         $this->divisaDestino $divisaDestino;
  107.         return $this;
  108.     }
  109.     /**
  110.      * Get divisaDestino
  111.      *
  112.      * @return string 
  113.      */
  114.     public function getDivisaDestino()
  115.     {
  116.         return $this->divisaDestino;
  117.     }
  118.     /**
  119.      * Set cantidad
  120.      *
  121.      * @param string $cantidad
  122.      * @return TransaccionLinea
  123.      */
  124.     public function setCantidad($cantidad)
  125.     {
  126.         $this->cantidad $cantidad;
  127.         return $this;
  128.     }
  129.     /**
  130.      * Get cantidad
  131.      *
  132.      * @return string 
  133.      */
  134.     public function getCantidad()
  135.     {
  136.         return $this->cantidad;
  137.     }
  138.     /**
  139.      * Set ticket
  140.      *
  141.      * @param string $ticket
  142.      * @return TransaccionLinea
  143.      */
  144.     public function setTicket($ticket)
  145.     {
  146.         $this->ticket $ticket;
  147.         return $this;
  148.     }
  149.     /**
  150.      * Get ticket
  151.      *
  152.      * @return string 
  153.      */
  154.     public function getTicket()
  155.     {
  156.         return $this->ticket;
  157.     }
  158. }