<?php

namespace App\Entity;

use App\Repository\InterventionClasseEnergetiqueRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Serializer\Annotation\Groups;

class InterventionClasseEnergetique
{
    /**
     * @Groups({"api"})
     */
    private $energie;
    /**
     * @Groups({"api"})
     */
    private $classe_rendement;
    /**
     * @Groups({"api"})
     */
    private $classe_energetique;
    /**
     * @Groups({"api"})
     */
    private $date_fabrication;
    /**
     * @Groups({"api"})
     */
    private $rendement;
    /**
     * @Groups({"api"})
     */
    private $rendement_reference;
    /**
     * @Groups({"api"})
     */
    private $nox;
    /**
     * @Groups({"api"})
     */
    private $nox_reference;
    /**
     * @Groups({"api"})
     */
    private $evacuation_etanche;

    public function __construct()
    {
        $this->interventions = new ArrayCollection();
    }

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getEnergie(): ?string
    {
        return $this->energie;
    }

    public function setEnergie(?string $energie): self
    {
        $this->energie = $energie;

        return $this;
    }

    public function getClasseRendement()
    {
        return $this->classe_rendement;
    }

    public function setClasseRendement($classe_rendement): self
    {
        $this->classe_rendement = $classe_rendement;

        return $this;
    }

    public function getClasseEnergetique()
    {
        return $this->classe_energetique;
    }

    public function setClasseEnergetique($classe_energetique): self
    {
        $this->classe_energetique = $classe_energetique;

        return $this;
    }

    public function getDateFabrication(): ?string
    {
        return $this->date_fabrication;
    }

    public function setDateFabrication(?string $date_fabrication): self
    {
        $this->date_fabrication = $date_fabrication;

        return $this;
    }

    public function getRendement(): ?string
    {
        return $this->rendement;
    }

    public function setRendement(?string $rendement): self
    {
        $this->rendement = $rendement;

        return $this;
    }

    public function getRendementReference(): ?string
    {
        return $this->rendement_reference;
    }

    public function setRendementReference(?string $rendement_reference): self
    {
        $this->rendement_reference = $rendement_reference;

        return $this;
    }

    public function getNox(): ?string
    {
        return $this->nox;
    }

    public function setNox(?string $nox): self
    {
        $this->nox = $nox;

        return $this;
    }

    public function getNoxReference(): ?string
    {
        return $this->nox_reference;
    }

    public function setNoxReference(?string $nox_reference): self
    {
        $this->nox_reference = $nox_reference;

        return $this;
    }

    public function getEvacuationEtanche(): ?string
    {
        return $this->evacuation_etanche;
    }

    public function setEvacuationEtanche(?string $evacuation_etanche): self
    {
        $this->evacuation_etanche = $evacuation_etanche;

        return $this;
    }
}
