public function resourceArray(): array 	{ 		return [ 			'id' => $this->id, 			'parent' => !$this->parent ? null : [ 				'id' => $this->parent->getNotificationId(), 				'name' => $this->parent->getNotificationName(), 				'type' => $this->parent->getNotificationType(), 				'avatar' => $this->parent->getNotificationAvatar(), 			], 			'title' => $this->title, 			'body' => $this->body, 			'url' => $this->url, 			'seen_at' => $this->getUserSeenAt(), 			'completed_at' => $this->completed_at ? formatTimestamp($this->completed_at) : null, 			'scheduled_at' => formatTimestamp($this->scheduled_at), 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 		]; 	}