id = $id; return $this; } /** * Gets id. * * @return int */ public function getId() { return $this->id; } /** * Sets name. * * @param string $name * * @return $this */ public function setName($name) { $this->name = $name; return $this; } /** * Gets name. * * @return string */ public function getName() { return $this->name; } /** * Sets department. * * @param Department $department * * @return $this */ public function setDepartment(Department $department = null) { $this->department = $department; return $this; } /** * Gets department. * * @return Department */ public function getDepartment() { return $this->department; } /** * Sets latitude. * * @param float $latitude * * @return $this */ public function setLatitude($latitude) { $this->latitude = floatval($latitude); return $this; } /** * Gets latitude. * * @return float */ public function getLatitude() { return $this->latitude; } /** * Sets longitude. * * @param float $longitude * * @return $this */ public function setLongitude($longitude) { $this->longitude = floatval($longitude); return $this; } /** * Gets longitude. * * @return float */ public function getLongitude() { return $this->longitude; } /** * Sets postalCode. * * @param string $postalCode * * @return $this */ public function setPostalCode($postalCode) { $this->postalCode = $postalCode; return $this; } /** * Gets postalCode. * * @return string */ public function getPostalCode() { return $this->postalCode; } }