src/Entity/BFDistance.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\BFDistanceRepository")
  6.  */
  7. class BFDistance
  8. {
  9.     /**
  10.      * @ORM\Id()
  11.      * @ORM\GeneratedValue()
  12.      * @ORM\Column(type="integer")
  13.      */
  14.     private $id;
  15.     /**
  16.      * @ORM\Column(type="string", length=255)
  17.      */
  18.     private $fromplaceid;
  19.     /**
  20.      * @ORM\Column(type="string", length=255)
  21.      */
  22.     private $toplaceid;
  23.     /**
  24.      * @ORM\Column(type="float")
  25.      */
  26.     private $distance;
  27.     /**
  28.      * @ORM\Column(type="datetime")
  29.      */
  30.     private $searchdate;
  31.     public function getId(): ?int
  32.     {
  33.         return $this->id;
  34.     }
  35.     public function getFromplaceid(): ?string
  36.     {
  37.         return $this->fromplaceid;
  38.     }
  39.     public function setFromplaceid(string $fromplaceid): self
  40.     {
  41.         $this->fromplaceid $fromplaceid;
  42.         return $this;
  43.     }
  44.     public function getToplaceid(): ?string
  45.     {
  46.         return $this->toplaceid;
  47.     }
  48.     public function setToplaceid(string $toplaceid): self
  49.     {
  50.         $this->toplaceid $toplaceid;
  51.         return $this;
  52.     }
  53.     public function getDistance(): ?float
  54.     {
  55.         return $this->distance;
  56.     }
  57.     public function setDistance(float $distance): self
  58.     {
  59.         $this->distance $distance;
  60.         return $this;
  61.     }
  62.     public function getSearchdate(): ?\DateTimeInterface
  63.     {
  64.         return $this->searchdate;
  65.     }
  66.     public function setSearchdate(\DateTimeInterface $searchdate): self
  67.     {
  68.         $this->searchdate $searchdate;
  69.         return $this;
  70.     }
  71. }