src/Entity/Historial.php line 12

Open in your IDE?
  1. <?php
  2.     namespace App\Entity;
  3.     use DateTimeInterface;
  4.     use Doctrine\ORM\Mapping as ORM;
  5.     /**
  6.      * @ORM\Entity(readOnly=true)
  7.      * @ORM\Table(name="historial")
  8.      */
  9.     class Historial
  10.     {
  11.         /**
  12.          * @ORM\Id
  13.          * @ORM\Column(type="string", nullable=true)
  14.          */
  15.         private $id null;
  16.         /** @ORM\Column(type="string", nullable=true) */
  17.         private $codigo null;
  18.         /** @ORM\Column(type="string", nullable=true) */
  19.         private $RIDperseo null;
  20.         /** @ORM\Column(type="integer", nullable=true) */
  21.         private $marca_id null;
  22.         /** @ORM\Column(type="string", nullable=true) */
  23.         private $marca null;
  24.         /** @ORM\Column(type="string", nullable=true) */
  25.         private $modelo null;
  26.         /** @ORM\Column(type="string", nullable=true) */
  27.         private $modelo1 null;
  28.         /** @ORM\Column(type="string", nullable=true) */
  29.         private $modelo2 null;
  30.         /** @ORM\Column(type="string", nullable=true) */
  31.         private $ref null;
  32.         /** @ORM\Column(type="string", nullable=true) */
  33.         private $ref1 null;
  34.         /** @ORM\Column(type="string", nullable=true) */
  35.         private $ref2 null;
  36.         /** @ORM\Column(type="string", nullable=true) */
  37.         private $VIDperseo null;
  38.         /** @ORM\Column(type="datetime", nullable=true) */
  39.         private $fecha_valoracion null;
  40.         /** @ORM\Column(type="float", precision=2, nullable=true) */
  41.         private $precio_pagar null;
  42.         /** @ORM\Column(type="string", nullable=true) */
  43.         private $OCIDperseo null;
  44.         /** @ORM\Column(type="datetime", nullable=true) */
  45.         private $fecha_compra null;
  46.         /** @ORM\Column(type="float", precision=2, nullable=true) */
  47.         private $precio_compra null;
  48.         /** @ORM\Column(type="string", nullable=true) */
  49.         private $OVIDperseo null;
  50.         /** @ORM\Column(type="datetime", nullable=true) */
  51.         private $fecha_venta null;
  52.         /** @ORM\Column(type="float", precision=2, nullable=true) */
  53.         private $precio_venta null;
  54.         /** @ORM\Column(type="integer", nullable=true) */
  55.         private $tiempo_en_espera null;
  56.         /** @ORM\Column(type="string", nullable=true) */
  57.         private $PIDperseo null;
  58.         /** @ORM\Column(type="datetime", nullable=true) */
  59.         private $fecha_anuncio null;
  60.         /** @ORM\Column(type="datetime", nullable=true) */
  61.         private $fecha_promocion null;
  62.         /** @ORM\Column(type="float", precision=2, nullable=true) */
  63.         private $precio_promocion null;
  64.         // ---- GETTERS & SETTERS ----
  65.         public function getId(): ?string
  66.         {
  67.             return $this->id;
  68.         }
  69.         public function setId(?string $id): self
  70.         {
  71.             $this->id $id;
  72.             return $this;
  73.         }
  74.         public function getCodigo(): ?string
  75.         {
  76.             return $this->codigo;
  77.         }
  78.         public function setCodigo(?string $codigo): self
  79.         {
  80.             $this->codigo $codigo;
  81.             return $this;
  82.         }
  83.         public function getRIDperseo(): ?string
  84.         {
  85.             return $this->RIDperseo;
  86.         }
  87.         public function setRIDperseo(?string $RIDperseo): self
  88.         {
  89.             $this->RIDperseo $RIDperseo;
  90.             return $this;
  91.         }
  92.         public function getMarcaId(): ?int
  93.         {
  94.             return $this->marca_id;
  95.         }
  96.         public function setMarcaId(?int $marca_id): self
  97.         {
  98.             $this->marca_id $marca_id;
  99.             return $this;
  100.         }
  101.         public function getMarca(): ?string
  102.         {
  103.             return $this->marca;
  104.         }
  105.         public function setMarca(?string $marca): self
  106.         {
  107.             $this->marca $marca;
  108.             return $this;
  109.         }
  110.         public function getModelo(): ?string
  111.         {
  112.             return $this->modelo;
  113.         }
  114.         public function setModelo(?string $modelo): self
  115.         {
  116.             $this->modelo $modelo;
  117.             return $this;
  118.         }
  119.         public function getModelo1(): ?string
  120.         {
  121.             return $this->modelo1;
  122.         }
  123.         public function setModelo1(?string $modelo1): self
  124.         {
  125.             $this->modelo1 $modelo1;
  126.             return $this;
  127.         }
  128.         public function getModelo2(): ?string
  129.         {
  130.             return $this->modelo2;
  131.         }
  132.         public function setModelo2(?string $modelo2): self
  133.         {
  134.             $this->modelo2 $modelo2;
  135.             return $this;
  136.         }
  137.         public function getRef(): ?string
  138.         {
  139.             return $this->ref;
  140.         }
  141.         public function setRef(?string $ref): self
  142.         {
  143.             $this->ref $ref;
  144.             return $this;
  145.         }
  146.         public function getRef1(): ?string
  147.         {
  148.             return $this->ref1;
  149.         }
  150.         public function setRef1(?string $ref1): self
  151.         {
  152.             $this->ref1 $ref1;
  153.             return $this;
  154.         }
  155.         public function getRef2(): ?string
  156.         {
  157.             return $this->ref2;
  158.         }
  159.         public function setRef2(?string $ref2): self
  160.         {
  161.             $this->ref2 $ref2;
  162.             return $this;
  163.         }
  164.         public function getVIDperseo(): ?string
  165.         {
  166.             return $this->VIDperseo;
  167.         }
  168.         public function setVIDperseo(?string $VIDperseo): self
  169.         {
  170.             $this->VIDperseo $VIDperseo;
  171.             return $this;
  172.         }
  173.         public function getFechaValoracion(): ?DateTimeInterface
  174.         {
  175.             return $this->fecha_valoracion;
  176.         }
  177.         public function setFechaValoracion(?DateTimeInterface $fecha_valoracion): self
  178.         {
  179.             $this->fecha_valoracion $fecha_valoracion;
  180.             return $this;
  181.         }
  182.         public function getPrecioPagar(): ?float
  183.         {
  184.             return $this->precio_pagar;
  185.         }
  186.         public function setPrecioPagar(?float $precio_pagar): self
  187.         {
  188.             $this->precio_pagar $precio_pagar;
  189.             return $this;
  190.         }
  191.         public function getOCIDperseo(): ?string
  192.         {
  193.             return $this->OCIDperseo;
  194.         }
  195.         public function setOCIDperseo(?string $OCIDperseo): self
  196.         {
  197.             $this->OCIDperseo $OCIDperseo;
  198.             return $this;
  199.         }
  200.         public function getFechaCompra(): ?DateTimeInterface
  201.         {
  202.             return $this->fecha_compra;
  203.         }
  204.         public function setFechaCompra(?DateTimeInterface $fecha_compra): self
  205.         {
  206.             $this->fecha_compra $fecha_compra;
  207.             return $this;
  208.         }
  209.         public function getPrecioCompra(): ?float
  210.         {
  211.             return $this->precio_compra;
  212.         }
  213.         public function setPrecioCompra(?float $precio_compra): self
  214.         {
  215.             $this->precio_compra $precio_compra;
  216.             return $this;
  217.         }
  218.         public function getOVIDperseo(): ?string
  219.         {
  220.             return $this->OVIDperseo;
  221.         }
  222.         public function setOVIDperseo(?string $OVIDperseo): self
  223.         {
  224.             $this->OVIDperseo $OVIDperseo;
  225.             return $this;
  226.         }
  227.         public function getFechaVenta(): ?DateTimeInterface
  228.         {
  229.             return $this->fecha_venta;
  230.         }
  231.         public function setFechaVenta(?DateTimeInterface $fecha_venta): self
  232.         {
  233.             $this->fecha_venta $fecha_venta;
  234.             return $this;
  235.         }
  236.         public function getPrecioVenta(): ?float
  237.         {
  238.             return $this->precio_venta;
  239.         }
  240.         public function setPrecioVenta(?float $precio_venta): self
  241.         {
  242.             $this->precio_venta $precio_venta;
  243.             return $this;
  244.         }
  245.         public function getTiempoEnEspera(): ?int
  246.         {
  247.             return $this->tiempo_en_espera;
  248.         }
  249.         public function setTiempoEnEspera(?int $tiempo_en_espera): self
  250.         {
  251.             $this->tiempo_en_espera $tiempo_en_espera;
  252.             return $this;
  253.         }
  254.         public function getPIDperseo(): ?string
  255.         {
  256.             return $this->PIDperseo;
  257.         }
  258.         public function setPIDperseo(?string $PIDperseo): self
  259.         {
  260.             $this->PIDperseo $PIDperseo;
  261.             return $this;
  262.         }
  263.         public function getFechaAnuncio(): ?DateTimeInterface
  264.         {
  265.             return $this->fecha_anuncio;
  266.         }
  267.         public function setFechaAnuncio(?DateTimeInterface $fecha_anuncio): self
  268.         {
  269.             $this->fecha_anuncio $fecha_anuncio;
  270.             return $this;
  271.         }
  272.         public function getFechaPromocion(): ?DateTimeInterface
  273.         {
  274.             return $this->fecha_promocion;
  275.         }
  276.         public function setFechaPromocion(?DateTimeInterface $fecha_promocion): self
  277.         {
  278.             $this->fecha_promocion $fecha_promocion;
  279.             return $this;
  280.         }
  281.         public function getPrecioPromocion(): ?float
  282.         {
  283.             return $this->precio_promocion;
  284.         }
  285.         public function setPrecioPromocion(?float $precio_promocion): self
  286.         {
  287.             $this->precio_promocion $precio_promocion;
  288.             return $this;
  289.         }
  290.     }