<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class ImportRequestItem extends Model
{
    protected $fillable = [
        'import_request_id','item_description','quantity','uom',
        'per_item_value','per_item_weight','currency','country_of_origin'
    ];

    public function request()
    {
        return $this->belongsTo(ImportRequest::class,'import_request_id');
    }
}
