src/Entity/Circuitprice.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CircuitpriceRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8.  * @ORM\Entity(repositoryClass=CircuitpriceRepository::class)
  9.  */
  10. class Circuitprice
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\Column(type="float", nullable=true)
  20.      */
  21.     private $pricebb;
  22.     /**
  23.      * @ORM\Column(type="date", nullable=true)
  24.      */
  25.     private $dated;
  26.     /**
  27.      * @ORM\Column(type="date", nullable=true)
  28.      */
  29.     private $datef;
  30.     /**
  31.      * @ORM\OneToMany(targetEntity=Circuitpriceroom::class, mappedBy="circuitprice", orphanRemoval=true)
  32.      */
  33.     private $circuitpricerooms;
  34.     /**
  35.      * @ORM\Column(type="float", nullable=true)
  36.      */
  37.     private $enf252;
  38.     /**
  39.      * @ORM\Column(type="float", nullable=true)
  40.      */
  41.     private $enf6112;
  42.     /**
  43.      * @ORM\Column(type="float", nullable=true)
  44.      */
  45.     private $enf25;
  46.     /**
  47.      * @ORM\Column(type="float", nullable=true)
  48.      */
  49.     private $enf611;
  50.     /**
  51.      * @ORM\Column(type="boolean", nullable=true)
  52.      */
  53.     private $demande252;
  54.     /**
  55.      * @ORM\Column(type="boolean", nullable=true)
  56.      */
  57.     private $demande6112;
  58.     /**
  59.      * @ORM\Column(type="boolean", nullable=true)
  60.      */
  61.     private $demande611;
  62.     /**
  63.      * @ORM\Column(type="boolean", nullable=true)
  64.      */
  65.     private $demande25;
  66.     /**
  67.      * @ORM\Column(type="boolean", nullable=true)
  68.      */
  69.     private $demandebb;
  70.     /**
  71.      * @ORM\Column(type="string", length=255, nullable=true)
  72.      */
  73.     private $pack;
  74.     /**
  75.      * @ORM\ManyToOne(targetEntity=Circuit::class, inversedBy="circuitprices")
  76.      * @ORM\JoinColumn(nullable=false)
  77.      */
  78.     private $circuit;
  79.     public function __construct()
  80.     {
  81.         $this->circuitpricerooms = new ArrayCollection();
  82.     }
  83.     public function getId(): ?int
  84.     {
  85.         return $this->id;
  86.     }
  87.     public function getPricebb(): ?float
  88.     {
  89.         return $this->pricebb;
  90.     }
  91.     public function setPricebb(?float $pricebb): self
  92.     {
  93.         $this->pricebb $pricebb;
  94.         return $this;
  95.     }
  96.     public function getDated(): ?\DateTimeInterface
  97.     {
  98.         return $this->dated;
  99.     }
  100.     public function setDated(?\DateTimeInterface $dated): self
  101.     {
  102.         $this->dated $dated;
  103.         return $this;
  104.     }
  105.     public function getDatef(): ?\DateTimeInterface
  106.     {
  107.         return $this->datef;
  108.     }
  109.     public function setDatef(?\DateTimeInterface $datef): self
  110.     {
  111.         $this->datef $datef;
  112.         return $this;
  113.     }
  114.     /**
  115.      * @return Collection<int, Circuitpriceroom>
  116.      */
  117.     public function getCircuitpricerooms(): Collection
  118.     {
  119.         return $this->circuitpricerooms;
  120.     }
  121.     public function addCircuitpriceroom(Circuitpriceroom $circuitpriceroom): self
  122.     {
  123.         if (!$this->circuitpricerooms->contains($circuitpriceroom)) {
  124.             $this->circuitpricerooms[] = $circuitpriceroom;
  125.             $circuitpriceroom->setCircuitprice($this);
  126.         }
  127.         return $this;
  128.     }
  129.     public function removeCircuitpriceroom(Circuitpriceroom $circuitpriceroom): self
  130.     {
  131.         if ($this->circuitpricerooms->removeElement($circuitpriceroom)) {
  132.             // set the owning side to null (unless already changed)
  133.             if ($circuitpriceroom->getCircuitprice() === $this) {
  134.                 $circuitpriceroom->setCircuitprice(null);
  135.             }
  136.         }
  137.         return $this;
  138.     }
  139.     public function getEnf252(): ?float
  140.     {
  141.         return $this->enf252;
  142.     }
  143.     public function setEnf252(?float $enf252): self
  144.     {
  145.         $this->enf252 $enf252;
  146.         return $this;
  147.     }
  148.     public function getEnf6112(): ?float
  149.     {
  150.         return $this->enf6112;
  151.     }
  152.     public function setEnf6112(?float $enf6112): self
  153.     {
  154.         $this->enf6112 $enf6112;
  155.         return $this;
  156.     }
  157.     public function getEnf25(): ?float
  158.     {
  159.         return $this->enf25;
  160.     }
  161.     public function setEnf25(?float $enf25): self
  162.     {
  163.         $this->enf25 $enf25;
  164.         return $this;
  165.     }
  166.     public function getEnf611(): ?float
  167.     {
  168.         return $this->enf611;
  169.     }
  170.     public function setEnf611(?float $enf611): self
  171.     {
  172.         $this->enf611 $enf611;
  173.         return $this;
  174.     }
  175.     public function isDemande252(): ?bool
  176.     {
  177.         return $this->demande252;
  178.     }
  179.     public function setDemande252(?bool $demande252): self
  180.     {
  181.         $this->demande252 $demande252;
  182.         return $this;
  183.     }
  184.     public function isDemande6112(): ?bool
  185.     {
  186.         return $this->demande6112;
  187.     }
  188.     public function setDemande6112(?bool $demande6112): self
  189.     {
  190.         $this->demande6112 $demande6112;
  191.         return $this;
  192.     }
  193.     public function isDemande611(): ?bool
  194.     {
  195.         return $this->demande611;
  196.     }
  197.     public function setDemande611(?bool $demande611): self
  198.     {
  199.         $this->demande611 $demande611;
  200.         return $this;
  201.     }
  202.     public function isDemande25(): ?bool
  203.     {
  204.         return $this->demande25;
  205.     }
  206.     public function setDemande25(?bool $demande25): self
  207.     {
  208.         $this->demande25 $demande25;
  209.         return $this;
  210.     }
  211.     public function isDemandebb(): ?bool
  212.     {
  213.         return $this->demandebb;
  214.     }
  215.     public function setDemandebb(?bool $demandebb): self
  216.     {
  217.         $this->demandebb $demandebb;
  218.         return $this;
  219.     }
  220.     public function getPack(): ?string
  221.     {
  222.         return $this->pack;
  223.     }
  224.     public function setPack(?string $pack): self
  225.     {
  226.         $this->pack $pack;
  227.         return $this;
  228.     }
  229.     public function getCircuit(): ?Circuit
  230.     {
  231.         return $this->circuit;
  232.     }
  233.     public function setCircuit(?Circuit $circuit): self
  234.     {
  235.         $this->circuit $circuit;
  236.         return $this;
  237.     }
  238. }