<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class GRNProducts extends Model
{
     use HasFactory,SoftDeletes;

    protected $table = 'grn_products';
    protected $primaryKey = 'id';

 public function GRN()
    {
        return $this->belongsTo(GRNS::class, 'grn_id');
    }
}
