<?php 

namespace App\Http\Resources;

use Illuminate\Http\Resources\Json\JsonResource;
use App\Models\ConsumableItem;

class PackingDetailResource extends BaseJsonResource
{
    public function toArray($request)
    {

        $array = [
            'id' => $this->id,
            'material_id' => $this->material_id,
            'qty' => $this->qty,
        ];
        
        return $array;
    }
}