src/Entity/PrecioCoste.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * PrecioCoste
  6.  *
  7.  * @ORM\Table(name="lize_PrecioDeCoste")
  8.  * @ORM\Entity
  9.  */
  10. class PrecioCoste
  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="Potencia", type="string", length=32, nullable=false)
  24.      */
  25.     private $potencia;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="Mes", type="string", length=64, nullable=false)
  30.      */
  31.     private $mes;
  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
  46.      *
  47.      * @ORM\Column(name="Precio_P3", type="float", precision=10, scale=0, nullable=false)
  48.      */
  49.     private $precioP3;
  50.     /**
  51.      * @var float
  52.      *
  53.      * @ORM\Column(name="Precio_P4", type="float", precision=10, scale=0, nullable=false)
  54.      */
  55.     private $precioP4;
  56.     /**
  57.      * @var float
  58.      *
  59.      * @ORM\Column(name="Precio_P5", type="float", precision=10, scale=0, nullable=false)
  60.      */
  61.     private $precioP5;
  62.     /**
  63.      * @var float
  64.      *
  65.      * @ORM\Column(name="Precio_P6", type="float", precision=10, scale=0, nullable=false)
  66.      */
  67.     private $precioP6;
  68.     public function getId(): ?int
  69.     {
  70.         return $this->id;
  71.     }
  72.     public function getPotencia(): ?string
  73.     {
  74.         return $this->potencia;
  75.     }
  76.     public function setPotencia(string $potencia): self
  77.     {
  78.         $this->potencia $potencia;
  79.         return $this;
  80.     }
  81.     public function getMes(): ?string
  82.     {
  83.         return $this->mes;
  84.     }
  85.     public function setMes(string $mes): self
  86.     {
  87.         $this->mes $mes;
  88.         return $this;
  89.     }
  90.     public function getPrecioP1(): ?float
  91.     {
  92.         return $this->precioP1;
  93.     }
  94.     public function setPrecioP1(float $precioP1): self
  95.     {
  96.         $this->precioP1 $precioP1;
  97.         return $this;
  98.     }
  99.     public function getPrecioP2(): ?float
  100.     {
  101.         return $this->precioP2;
  102.     }
  103.     public function setPrecioP2(float $precioP2): self
  104.     {
  105.         $this->precioP2 $precioP2;
  106.         return $this;
  107.     }
  108.     public function getPrecioP3(): ?float
  109.     {
  110.         return $this->precioP3;
  111.     }
  112.     public function setPrecioP3(float $precioP3): self
  113.     {
  114.         $this->precioP3 $precioP3;
  115.         return $this;
  116.     }
  117.     public function getPrecioP4(): ?float
  118.     {
  119.         return $this->precioP4;
  120.     }
  121.     public function setPrecioP4(float $precioP4): self
  122.     {
  123.         $this->precioP4 $precioP4;
  124.         return $this;
  125.     }
  126.     public function getPrecioP5(): ?float
  127.     {
  128.         return $this->precioP5;
  129.     }
  130.     public function setPrecioP5(float $precioP5): self
  131.     {
  132.         $this->precioP5 $precioP5;
  133.         return $this;
  134.     }
  135.     public function getPrecioP6(): ?float
  136.     {
  137.         return $this->precioP6;
  138.     }
  139.     public function setPrecioP6(float $precioP6): self
  140.     {
  141.         $this->precioP6 $precioP6;
  142.         return $this;
  143.     }
  144. }