src/Entity/UserIndicateur.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\UserIndicateurRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassUserIndicateurRepository::class)]
  7. class UserIndicateur
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(nullabletrue)]
  14.     private ?float $mb null;
  15.     #[ORM\Column(nullabletrue)]
  16.     private ?float $dej null;
  17.     #[ORM\Column(nullabletrue)]
  18.     private ?float $cejr null;
  19.     #[ORM\Column(typeTypes::SMALLINTnullabletrue)]
  20.     private ?int $fcr null;
  21.     #[ORM\Column(nullabletrue)]
  22.     private ?float $fcm null;
  23.     #[ORM\Column(nullabletrue)]
  24.     private ?float $fcrv null;
  25.     #[ORM\OneToOne(cascade: ['persist''remove'])]
  26.     private ?User $user null;
  27.     #[ORM\Column(typeTypes::SMALLINTnullabletrue)]
  28.     private ?int $nap null;
  29.     #[ORM\Column(nullabletrue)]
  30.     private ?int $fr null;
  31.     #[ORM\Column(nullabletrue)]
  32.     private ?float $vo2max null;
  33.     public function getId(): ?int
  34.     {
  35.         return $this->id;
  36.     }
  37.     public function getMb(): ?float
  38.     {
  39.         return $this->mb;
  40.     }
  41.     public function setMb(?float $mb): static
  42.     {
  43.         $this->mb $mb;
  44.         return $this;
  45.     }
  46.     public function getDej(): ?float
  47.     {
  48.         return $this->dej;
  49.     }
  50.     public function setDej(?float $dej): static
  51.     {
  52.         $this->dej $dej;
  53.         return $this;
  54.     }
  55.     public function getCejr(): ?float
  56.     {
  57.         return $this->cejr;
  58.     }
  59.     public function setCejr(?float $cejr): static
  60.     {
  61.         $this->cejr $cejr;
  62.         return $this;
  63.     }
  64.     public function getFcr(): ?int
  65.     {
  66.         return $this->fcr;
  67.     }
  68.     public function setFcr(?int $fcr): static
  69.     {
  70.         $this->fcr $fcr;
  71.         return $this;
  72.     }
  73.     public function getFcm(): ?float
  74.     {
  75.         return $this->fcm;
  76.     }
  77.     public function setFcm(?float $fcm): static
  78.     {
  79.         $this->fcm $fcm;
  80.         return $this;
  81.     }
  82.     public function getFcrv(): ?float
  83.     {
  84.         return $this->fcrv;
  85.     }
  86.     public function setFcrv(?float $fcrv): static
  87.     {
  88.         $this->fcrv $fcrv;
  89.         return $this;
  90.     }
  91.     public function getUser(): ?User
  92.     {
  93.         return $this->user;
  94.     }
  95.     public function setUser(?User $user): static
  96.     {
  97.         $this->user $user;
  98.         return $this;
  99.     }
  100.     public function getNap(): ?int
  101.     {
  102.         return $this->nap;
  103.     }
  104.     public function setNap(?int $nap): static
  105.     {
  106.         $this->nap $nap;
  107.         return $this;
  108.     }
  109.     public function getFr(): ?int
  110.     {
  111.         return $this->fr;
  112.     }
  113.     public function setFr(?int $fr): static
  114.     {
  115.         $this->fr $fr;
  116.         return $this;
  117.     }
  118.     public function getVo2max(): ?float
  119.     {
  120.         return $this->vo2max;
  121.     }
  122.     public function setVo2max(?float $vo2max): static
  123.     {
  124.         $this->vo2max $vo2max;
  125.         return $this;
  126.     }
  127. }