<?php

namespace App\Filament\Resources\ExchangeRequestResource\Api\Transformers;

use App\Models\ExchangeRequest;
use Illuminate\Http\Resources\Json\JsonResource;

/**
 * @property ExchangeRequest $resource
 */
class ExchangeRequestTransformer extends JsonResource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function toArray($request)
    {
        return $this->resource->toArray();
    }
}
