src/Entity/BCMix.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\BCMixRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassBCMixRepository::class)]
  6. class BCMix
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length100)]
  13.     private ?string $country null;
  14.     #[ORM\Column]
  15.     private ?float $coefficient null;
  16.     #[ORM\Column]
  17.     private ?int $incertitude null;
  18.     #[ORM\Column(length255)]
  19.     private ?string $source null;
  20.     #[ORM\Column(length10)]
  21.     private ?string $type null;
  22.     public function getId(): ?int
  23.     {
  24.         return $this->id;
  25.     }
  26.     public function getCountry(): ?string
  27.     {
  28.         return $this->country;
  29.     }
  30.     public function setCountry(string $country): self
  31.     {
  32.         $this->country $country;
  33.         return $this;
  34.     }
  35.     public function getCoefficient(): ?float
  36.     {
  37.         return $this->coefficient;
  38.     }
  39.     public function setCoefficient(float $coefficient): self
  40.     {
  41.         $this->coefficient $coefficient;
  42.         return $this;
  43.     }
  44.     public function getIncertitude(): ?int
  45.     {
  46.         return $this->incertitude;
  47.     }
  48.     public function setIncertitude(int $incertitude): self
  49.     {
  50.         $this->incertitude $incertitude;
  51.         return $this;
  52.     }
  53.     public function getSource(): ?string
  54.     {
  55.         return $this->source;
  56.     }
  57.     public function setSource(string $source): self
  58.     {
  59.         $this->source $source;
  60.         return $this;
  61.     }
  62.     public function getType(): ?string
  63.     {
  64.         return $this->type;
  65.     }
  66.     public function setType(string $type): self
  67.     {
  68.         $this->type $type;
  69.         return $this;
  70.     }
  71. }