<?php

namespace App\Http\Resources;

use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;

class logResource extends JsonResource
{
    /**
     * Transform the resource into an array.
     *
     * @return array<string, mixed>
     */
    public function toArray(Request $request): array
    {
        return [
           "status_id"=>$this->status_id,
            "station_id"=>$this->station_id,
            "user_id"=>$this->user_id,
            "time"=>$this->time,
            "description"=>$this->description,
        ];
    }
}
