src/Entity/FraisKilometriques.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FraisKilometriquesRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassFraisKilometriquesRepository::class)]
  6. class FraisKilometriques
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length255)]
  13.     private $transport;
  14.     #[ORM\Column(type'string'length255)]
  15.     private $power;
  16.     #[ORM\Column(type'float'nullabletrue)]
  17.     private $rate;
  18.     #[ORM\Column(type'string'length255)]
  19.     private $type;
  20.     #[ORM\Column(type'string'length255)]
  21.     private $distance;
  22.     #[ORM\Column(type'float'nullabletrue)]
  23.     private $optional;
  24.     public function getId(): ?int
  25.     {
  26.         return $this->id;
  27.     }
  28.     public function getTransport(): ?string
  29.     {
  30.         return $this->transport;
  31.     }
  32.     public function setTransport(string $transport): self
  33.     {
  34.         $this->transport $transport;
  35.         return $this;
  36.     }
  37.     public function getPower(): ?string
  38.     {
  39.         return $this->power;
  40.     }
  41.     public function setPower(string $power): self
  42.     {
  43.         $this->power $power;
  44.         return $this;
  45.     }
  46.     public function getRate(): ?float
  47.     {
  48.         return $this->rate;
  49.     }
  50.     public function setRate(?float $rate): self
  51.     {
  52.         $this->rate $rate;
  53.         return $this;
  54.     }
  55.     public function getType(): ?string
  56.     {
  57.         return $this->type;
  58.     }
  59.     public function setType(string $type): self
  60.     {
  61.         $this->type $type;
  62.         return $this;
  63.     }
  64.     public function getDistance(): ?string
  65.     {
  66.         return $this->distance;
  67.     }
  68.     public function setDistance(string $distance): self
  69.     {
  70.         $this->distance $distance;
  71.         return $this;
  72.     }
  73.     public function getOptional(): ?float
  74.     {
  75.         return $this->optional;
  76.     }
  77.     public function setOptional(?float $optional): self
  78.     {
  79.         $this->optional $optional;
  80.         return $this;
  81.     }
  82. }