<?php

namespace App\Http\Resources\V1;

use Illuminate\Http\Resources\Json\JsonResource;

class ServiceResource extends JsonResource
{
    public function toArray($request)
{
    return [
        'id' => $this->id,
        'name_en' => $this->name_en,
        'name_ar' => $this->name_ar,
        'status' => $this->status,
        'home_status' => $this->home_status,
        'sort' => $this->sort,
        'image' => $this->image,
        // 'icon' => $this->icon,
        'category_id' => $this->category_id,
        'created_at' => $this->created_at,
        'updated_at' => $this->updated_at,
    ];
}

}