src/Entity/TransaccionLinea.php line 13
- <?php
- namespace App\Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * TransaccionLinea
- *
- * @ORM\Table()
- * @ORM\Entity
- */
- class TransaccionLinea
- {
- /**
- * @var integer
- *
- * @ORM\Column(name="id", type="integer")
- * @ORM\Id
- * @ORM\GeneratedValue(strategy="AUTO")
- */
- private $id;
- /**
- /**
- * @ORM\ManyToOne(targetEntity="Transaccion", cascade={"merge"}, inversedBy="lineas")
- * @ORM\JoinColumn(name="reserva", referencedColumnName="id", nullable=true)
- */
- private $transaccion;
- /**
- * @var string
- *
- * @ORM\Column(name="erpCode", type="string", length=255, nullable=true)
- */
- private $erpCode;
- /**
- * @ORM\ManyToOne(targetEntity="Divisa", cascade={"merge"})
- * @ORM\JoinColumn(name="divisaDestino", referencedColumnName="id")
- */
- private $divisaDestino;
- /**
- * @var string
- *
- * @ORM\Column(name="cantidad", type="string", length=255)
- */
- private $cantidad;
- /**
- * @var string
- *
- * @ORM\Column(name="ticket", type="string", length=255, nullable=true)
- */
- private $ticket;
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set transaccion
- *
- * @param string $transaccion
- * @return TransaccionLinea
- */
- public function setTransaccion($transaccion)
- {
- $this->transaccion = $transaccion;
- return $this;
- }
- /**
- * Get transaccion
- *
- * @return string
- */
- public function getTransaccion()
- {
- return $this->transaccion;
- }
- /**
- * Set erpCode
- *
- * @param string $erpCode
- * @return TransaccionLinea
- */
- public function setErpCode($erpCode)
- {
- $this->erpCode = $erpCode;
- return $this;
- }
- /**
- * Get erpCode
- *
- * @return string
- */
- public function getErpCode()
- {
- return $this->erpCode;
- }
- /**
- * Set divisaDestino
- *
- * @param string $divisaDestino
- * @return TransaccionLinea
- */
- public function setDivisaDestino($divisaDestino)
- {
- $this->divisaDestino = $divisaDestino;
- return $this;
- }
- /**
- * Get divisaDestino
- *
- * @return string
- */
- public function getDivisaDestino()
- {
- return $this->divisaDestino;
- }
- /**
- * Set cantidad
- *
- * @param string $cantidad
- * @return TransaccionLinea
- */
- public function setCantidad($cantidad)
- {
- $this->cantidad = $cantidad;
- return $this;
- }
- /**
- * Get cantidad
- *
- * @return string
- */
- public function getCantidad()
- {
- return $this->cantidad;
- }
- /**
- * Set ticket
- *
- * @param string $ticket
- * @return TransaccionLinea
- */
- public function setTicket($ticket)
- {
- $this->ticket = $ticket;
- return $this;
- }
- /**
- * Get ticket
- *
- * @return string
- */
- public function getTicket()
- {
- return $this->ticket;
- }
- }