id = $id; $this->userId = $userId; $this->title = $title; $this->location = $location; $this->created = $created; $this->lastAdded = $lastAdded; $this->receivedFrom = $receivedFrom; } public function getId(): int { return $this->id; } public function getUserId(): string { return $this->userId; } public function getTitle(): string { return $this->title; } public function getLocation(): string { return $this->location; } public function getCreated(): int { return $this->created; } public function getLastAddedPhoto(): int { return $this->lastAdded; } public function getReceivedFrom(): ?int { return $this->receivedFrom; } }