postcode = $postcode; $this->latitude = $latitude; $this->longitude = $longitude; } public function getId(): ?int { return $this->id; } public function setId(int $id): PostcodeLatLng { $this->id = $id; return $this; } public function getPostcode(): string { return $this->postcode; } public function setPostcode(string $postcode): PostcodeLatLng { $this->postcode = $postcode; return $this; } public function getLatitude(): float { return $this->latitude; } public function setLatitude(float $latitude): PostcodeLatLng { $this->latitude = $latitude; return $this; } public function getLongitude(): float { return $this->longitude; } public function setLongitude(float $longitude): PostcodeLatLng { $this->longitude = $longitude; return $this; } }