<?php

namespace App\Http\Resources;

use App\Crm\EnquiryDataToProviderData;
use Illuminate\Http\Request;

class StormEnquiryItemResource extends StormEnquiryResource
{
    use EnquiryDataToProviderData;

    public static $wrap = '';

    /**
     * Transform the resource into an array.
     *
     * @return array<string, mixed>
     */
    public function toArray(Request $request): array
    {
        return $this->mapItem($this->resource);
    }
}
