<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Cities
*
* @ORM\Table(name="cities")
* @ORM\Entity(repositoryClass="App\Repository\CitiesRepository")
*/
class Cities
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="region_id", type="integer")
*/
private $regionId;
/**
* @var int
*
* @ORM\Column(name="country_id", type="integer")
*/
private $countryId;
/**
* @var int
*
* @ORM\Column(name="latitude", type="decimal")
*/
private $latitude;
/**
* @var int
*
* @ORM\Column(name="longitude", type="decimal")
*/
private $longitude;
/**
* @var int
*
* @ORM\Column(name="name", type="string", length=255 )
*/
private $city;
/**
* @var int
*
* @ORM\Column(name="province_id", type="integer")
*/
private $provinceId;
/**
* @var string
*
* @ORM\Column(name="zipcode", type="text", nullable=true)
*/
private $zipcode;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set regionId
*
* @param integer $regionId
*
* @return Cities
*/
public function setRegionId($regionId)
{
$this->regionId = $regionId;
return $this;
}
/**
* Get regionId
*
* @return int
*/
public function getRegionId()
{
return $this->regionId;
}
/**
* Set countryId
*
* @param integer $countryId
*
* @return Cities
*/
public function setCountryId($countryId)
{
$this->countryId = $countryId;
return $this;
}
/**
* Get countryId
*
* @return integer
*/
public function getCountryId()
{
return $this->countryId;
}
/**
* Set latitude
*
* @param string $latitude
*
* @return Cities
*/
public function setLatitude($latitude)
{
$this->latitude = $latitude;
return $this;
}
/**
* Get latitude
*
* @return string
*/
public function getLatitude()
{
return $this->latitude;
}
/**
* Set longitude
*
* @param string $longitude
*
* @return Cities
*/
public function setLongitude($longitude)
{
$this->longitude = $longitude;
return $this;
}
/**
* Get longitude
*
* @return string
*/
public function getLongitude()
{
return $this->longitude;
}
/**
* Set city
*
* @param string $city
*
* @return Cities
*/
public function setCity($city)
{
$this->city = $city;
return $this;
}
/**
* Get city
*
* @return string
*/
public function getCity()
{
return $this->city;
}
/**
* Set provinceId
*
* @param integer $provinceId
*
* @return Cities
*/
public function setProvinceId($provinceId)
{
$this->provinceId = $provinceId;
return $this;
}
/**
* Get provinceId
*
* @return integer
*/
public function getProvinceId()
{
return $this->provinceId;
}
/**
* Set zipcode
*
* @param string $zipcode
*
* @return Cities
*/
public function setZipcode($zipcode)
{
$this->zipcode = $zipcode;
return $this;
}
/**
* Get zipcode
*
* @return string
*/
public function getZipcode()
{
return $this->zipcode;
}
}