<?php

/*
 * Created by Mohamed.
 */


namespace App\Http\Resources;

use Illuminate\Http\Resources\Json\JsonResource;

class StatusResource extends BaseResource
{
    public function toArray($request)
    {
        return [
            'id' => $this->id,
            'name' => $this->name,
            // 'orders' => OrderResource::collection($this->whenLoaded('orders')),
            // 'products' => ProductResource::collection($this->whenLoaded('products')),
        ];
    }
}