public function toArray($request): array 	{ 		return [ 			'id' => $this->id, 			'purchase_date' => $this->purchase_date, 			'receipt' => $this->getMedia('receipts')->first(), 			'product' => new ProductResource($this->product), 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 		]; 	}