<?php

namespace App\Transformers\Chats;

use App\Models\Chats\Client;
use League\Fractal\TransformerAbstract;

class ClientTransformer extends TransformerAbstract {
    protected array $defaultIncludes = [];

    protected array $availableIncludes = [

    ];

    public function transform(Client $model): array {
        return [
            'id' => $model->uuid,
            'name' => $model->name,
            'email' => $model->email
        ];
    }


}