public function toArray($request): array 	{ 		$lang = $request->lang ?: DomainLanguages::getDefaultLanguage();  		return [ 			'id' => $this->getKey(), 			'name' => $this->getTranslation('name', DomainLanguages::from($lang)->value), 			'children' => IndustryResource::collection($this->children), 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 		]; 	}