<?php

namespace App\Http\Resources;

use Illuminate\Http\Resources\Json\JsonResource;

class BranchResource extends JsonResource
{
    
    public function toArray($request)
    {
        return [
            'id'        => $this->id,
            'name_km'      => $this->name_km,
            'name_en'      => $this->name_en,
            'phone'      => $this->phone,
            'address'      => $this->address,
        ];
    }
}
