public function resourceArray(): array 	{ 		return [ 			'id' => $this->getKey(), 			'parent' => $this->parent ? [ 				'id' => $this->parent->getNotificationId(), 				'name' => $this->parent->getNotificationName(), 				'type' => $this->parent->getNotificationType(), 				'avatar' => $this->parent->getNotificationAvatar(), 			] : null, 			'title' => $this->getDefaultTranslation('title'), 			'body' => $this->getDefaultTranslation('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), 		]; 	}