<?php
namespace App\Entity;
use DateTimeInterface;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(readOnly=true)
* @ORM\Table(name="historial")
*/
class Historial
{
/**
* @ORM\Id
* @ORM\Column(type="string", nullable=true)
*/
private $id = null;
/** @ORM\Column(type="string", nullable=true) */
private $codigo = null;
/** @ORM\Column(type="string", nullable=true) */
private $RIDperseo = null;
/** @ORM\Column(type="integer", nullable=true) */
private $marca_id = null;
/** @ORM\Column(type="string", nullable=true) */
private $marca = null;
/** @ORM\Column(type="string", nullable=true) */
private $modelo = null;
/** @ORM\Column(type="string", nullable=true) */
private $modelo1 = null;
/** @ORM\Column(type="string", nullable=true) */
private $modelo2 = null;
/** @ORM\Column(type="string", nullable=true) */
private $ref = null;
/** @ORM\Column(type="string", nullable=true) */
private $ref1 = null;
/** @ORM\Column(type="string", nullable=true) */
private $ref2 = null;
/** @ORM\Column(type="string", nullable=true) */
private $VIDperseo = null;
/** @ORM\Column(type="datetime", nullable=true) */
private $fecha_valoracion = null;
/** @ORM\Column(type="float", precision=2, nullable=true) */
private $precio_pagar = null;
/** @ORM\Column(type="string", nullable=true) */
private $OCIDperseo = null;
/** @ORM\Column(type="datetime", nullable=true) */
private $fecha_compra = null;
/** @ORM\Column(type="float", precision=2, nullable=true) */
private $precio_compra = null;
/** @ORM\Column(type="string", nullable=true) */
private $OVIDperseo = null;
/** @ORM\Column(type="datetime", nullable=true) */
private $fecha_venta = null;
/** @ORM\Column(type="float", precision=2, nullable=true) */
private $precio_venta = null;
/** @ORM\Column(type="integer", nullable=true) */
private $tiempo_en_espera = null;
/** @ORM\Column(type="string", nullable=true) */
private $PIDperseo = null;
/** @ORM\Column(type="datetime", nullable=true) */
private $fecha_anuncio = null;
/** @ORM\Column(type="datetime", nullable=true) */
private $fecha_promocion = null;
/** @ORM\Column(type="float", precision=2, nullable=true) */
private $precio_promocion = null;
// ---- GETTERS & SETTERS ----
public function getId(): ?string
{
return $this->id;
}
public function setId(?string $id): self
{
$this->id = $id;
return $this;
}
public function getCodigo(): ?string
{
return $this->codigo;
}
public function setCodigo(?string $codigo): self
{
$this->codigo = $codigo;
return $this;
}
public function getRIDperseo(): ?string
{
return $this->RIDperseo;
}
public function setRIDperseo(?string $RIDperseo): self
{
$this->RIDperseo = $RIDperseo;
return $this;
}
public function getMarcaId(): ?int
{
return $this->marca_id;
}
public function setMarcaId(?int $marca_id): self
{
$this->marca_id = $marca_id;
return $this;
}
public function getMarca(): ?string
{
return $this->marca;
}
public function setMarca(?string $marca): self
{
$this->marca = $marca;
return $this;
}
public function getModelo(): ?string
{
return $this->modelo;
}
public function setModelo(?string $modelo): self
{
$this->modelo = $modelo;
return $this;
}
public function getModelo1(): ?string
{
return $this->modelo1;
}
public function setModelo1(?string $modelo1): self
{
$this->modelo1 = $modelo1;
return $this;
}
public function getModelo2(): ?string
{
return $this->modelo2;
}
public function setModelo2(?string $modelo2): self
{
$this->modelo2 = $modelo2;
return $this;
}
public function getRef(): ?string
{
return $this->ref;
}
public function setRef(?string $ref): self
{
$this->ref = $ref;
return $this;
}
public function getRef1(): ?string
{
return $this->ref1;
}
public function setRef1(?string $ref1): self
{
$this->ref1 = $ref1;
return $this;
}
public function getRef2(): ?string
{
return $this->ref2;
}
public function setRef2(?string $ref2): self
{
$this->ref2 = $ref2;
return $this;
}
public function getVIDperseo(): ?string
{
return $this->VIDperseo;
}
public function setVIDperseo(?string $VIDperseo): self
{
$this->VIDperseo = $VIDperseo;
return $this;
}
public function getFechaValoracion(): ?DateTimeInterface
{
return $this->fecha_valoracion;
}
public function setFechaValoracion(?DateTimeInterface $fecha_valoracion): self
{
$this->fecha_valoracion = $fecha_valoracion;
return $this;
}
public function getPrecioPagar(): ?float
{
return $this->precio_pagar;
}
public function setPrecioPagar(?float $precio_pagar): self
{
$this->precio_pagar = $precio_pagar;
return $this;
}
public function getOCIDperseo(): ?string
{
return $this->OCIDperseo;
}
public function setOCIDperseo(?string $OCIDperseo): self
{
$this->OCIDperseo = $OCIDperseo;
return $this;
}
public function getFechaCompra(): ?DateTimeInterface
{
return $this->fecha_compra;
}
public function setFechaCompra(?DateTimeInterface $fecha_compra): self
{
$this->fecha_compra = $fecha_compra;
return $this;
}
public function getPrecioCompra(): ?float
{
return $this->precio_compra;
}
public function setPrecioCompra(?float $precio_compra): self
{
$this->precio_compra = $precio_compra;
return $this;
}
public function getOVIDperseo(): ?string
{
return $this->OVIDperseo;
}
public function setOVIDperseo(?string $OVIDperseo): self
{
$this->OVIDperseo = $OVIDperseo;
return $this;
}
public function getFechaVenta(): ?DateTimeInterface
{
return $this->fecha_venta;
}
public function setFechaVenta(?DateTimeInterface $fecha_venta): self
{
$this->fecha_venta = $fecha_venta;
return $this;
}
public function getPrecioVenta(): ?float
{
return $this->precio_venta;
}
public function setPrecioVenta(?float $precio_venta): self
{
$this->precio_venta = $precio_venta;
return $this;
}
public function getTiempoEnEspera(): ?int
{
return $this->tiempo_en_espera;
}
public function setTiempoEnEspera(?int $tiempo_en_espera): self
{
$this->tiempo_en_espera = $tiempo_en_espera;
return $this;
}
public function getPIDperseo(): ?string
{
return $this->PIDperseo;
}
public function setPIDperseo(?string $PIDperseo): self
{
$this->PIDperseo = $PIDperseo;
return $this;
}
public function getFechaAnuncio(): ?DateTimeInterface
{
return $this->fecha_anuncio;
}
public function setFechaAnuncio(?DateTimeInterface $fecha_anuncio): self
{
$this->fecha_anuncio = $fecha_anuncio;
return $this;
}
public function getFechaPromocion(): ?DateTimeInterface
{
return $this->fecha_promocion;
}
public function setFechaPromocion(?DateTimeInterface $fecha_promocion): self
{
$this->fecha_promocion = $fecha_promocion;
return $this;
}
public function getPrecioPromocion(): ?float
{
return $this->precio_promocion;
}
public function setPrecioPromocion(?float $precio_promocion): self
{
$this->precio_promocion = $precio_promocion;
return $this;
}
}