<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Repository\BFDistanceRepository")
*/
class BFDistance
{
/**
* @ORM\Id()
* @ORM\GeneratedValue()
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $fromplaceid;
/**
* @ORM\Column(type="string", length=255)
*/
private $toplaceid;
/**
* @ORM\Column(type="float")
*/
private $distance;
/**
* @ORM\Column(type="datetime")
*/
private $searchdate;
public function getId(): ?int
{
return $this->id;
}
public function getFromplaceid(): ?string
{
return $this->fromplaceid;
}
public function setFromplaceid(string $fromplaceid): self
{
$this->fromplaceid = $fromplaceid;
return $this;
}
public function getToplaceid(): ?string
{
return $this->toplaceid;
}
public function setToplaceid(string $toplaceid): self
{
$this->toplaceid = $toplaceid;
return $this;
}
public function getDistance(): ?float
{
return $this->distance;
}
public function setDistance(float $distance): self
{
$this->distance = $distance;
return $this;
}
public function getSearchdate(): ?\DateTimeInterface
{
return $this->searchdate;
}
public function setSearchdate(\DateTimeInterface $searchdate): self
{
$this->searchdate = $searchdate;
return $this;
}
}