<?php

namespace Modules\Messager\app\Http\Resources;

use Illuminate\Http\Resources\Json\JsonResource;

class MessagerResource extends JsonResource
{
    /**
     * Transform the resource into an array.
     */
    public function toArray($request): array
    {
        return [
            'id' => $this->id,
            'reference' => $this->reference,
            'client_name' => $this->client_name,
            'client_email' => $this->client_email,
            'description' => $this->description,
            'status' => $this->status,
            ];
    }
}
