src/Entity/PrecioPotencia.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * PrecioPotencia
  6.  *
  7.  * @ORM\Table(name="lize_PreciodePotencia")
  8.  * @ORM\Entity
  9.  */
  10. class PrecioPotencia
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="ID", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var string
  22.      *
  23.      * @ORM\Column(name="Tarifa", type="string", length=16, nullable=false)
  24.      */
  25.     private $tarifa;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="Precio_Potencia", type="string", length=16, nullable=false)
  30.      */
  31.     private $precioPotencia;
  32.     /**
  33.      * @var float
  34.      *
  35.      * @ORM\Column(name="Precio_P1", type="float", precision=10, scale=0, nullable=false)
  36.      */
  37.     private $precioP1;
  38.     /**
  39.      * @var float
  40.      *
  41.      * @ORM\Column(name="Precio_P2", type="float", precision=10, scale=0, nullable=false)
  42.      */
  43.     private $precioP2;
  44.     /**
  45.      * @var float|null
  46.      *
  47.      * @ORM\Column(name="Precio_P3", type="float", precision=10, scale=0, nullable=true)
  48.      */
  49.     private $precioP3;
  50.     /**
  51.      * @var float|null
  52.      *
  53.      * @ORM\Column(name="Precio_P4", type="float", precision=10, scale=0, nullable=true)
  54.      */
  55.     private $precioP4;
  56.     /**
  57.      * @var float|null
  58.      *
  59.      * @ORM\Column(name="Precio_P5", type="float", precision=10, scale=0, nullable=true)
  60.      */
  61.     private $precioP5;
  62.     /**
  63.      * @var float|null
  64.      *
  65.      * @ORM\Column(name="Precio_P6", type="float", precision=10, scale=0, nullable=true)
  66.      */
  67.     private $precioP6;
  68.     /**
  69.      * @var string
  70.      *
  71.      * @ORM\Column(name="Observaciones", type="string", length=64, nullable=false)
  72.      */
  73.     private $observaciones;
  74.     /**
  75.      * @return int
  76.      *
  77.      * @ORM\Column(name="Año", type="smallint", length=4, nullable=false)
  78.      */
  79.     private $anio;
  80.     public function getId(): ?int
  81.     {
  82.         return $this->id;
  83.     }
  84.     public function getTarifa(): ?string
  85.     {
  86.         return $this->tarifa;
  87.     }
  88.     public function setTarifa(string $tarifa): self
  89.     {
  90.         $this->tarifa $tarifa;
  91.         return $this;
  92.     }
  93.     public function getPrecioPotencia(): ?string
  94.     {
  95.         return $this->precioPotencia;
  96.     }
  97.     public function setPrecioPotencia(string $precioPotencia): self
  98.     {
  99.         $this->precioPotencia $precioPotencia;
  100.         return $this;
  101.     }
  102.     public function getPrecioP1(): ?float
  103.     {
  104.         return $this->precioP1;
  105.     }
  106.     public function setPrecioP1(float $precioP1): self
  107.     {
  108.         $this->precioP1 $precioP1;
  109.         return $this;
  110.     }
  111.     public function getPrecioP2(): ?float
  112.     {
  113.         return $this->precioP2;
  114.     }
  115.     public function setPrecioP2(float $precioP2): self
  116.     {
  117.         $this->precioP2 $precioP2;
  118.         return $this;
  119.     }
  120.     public function getPrecioP3(): ?float
  121.     {
  122.         return $this->precioP3;
  123.     }
  124.     public function setPrecioP3(?float $precioP3): self
  125.     {
  126.         $this->precioP3 $precioP3;
  127.         return $this;
  128.     }
  129.     public function getPrecioP4(): ?float
  130.     {
  131.         return $this->precioP4;
  132.     }
  133.     public function setPrecioP4(?float $precioP4): self
  134.     {
  135.         $this->precioP4 $precioP4;
  136.         return $this;
  137.     }
  138.     public function getPrecioP5(): ?float
  139.     {
  140.         return $this->precioP5;
  141.     }
  142.     public function setPrecioP5(?float $precioP5): self
  143.     {
  144.         $this->precioP5 $precioP5;
  145.         return $this;
  146.     }
  147.     public function getPrecioP6(): ?float
  148.     {
  149.         return $this->precioP6;
  150.     }
  151.     public function setPrecioP6(?float $precioP6): self
  152.     {
  153.         $this->precioP6 $precioP6;
  154.         return $this;
  155.     }
  156.     public function getObservaciones(): ?string
  157.     {
  158.         return $this->observaciones;
  159.     }
  160.     public function setObservaciones(string $observaciones): self
  161.     {
  162.         $this->observaciones $observaciones;
  163.         return $this;
  164.     }
  165.     public function getAnio(): ?int
  166.     {
  167.         return $this->anio;
  168.     }
  169.     public function setAnio(int $anio): self
  170.     {
  171.         $this->anio $anio;
  172.         return $this;
  173.     }
  174. }