Current File : //home/tradevaly/demo.tradevaly.com.bd/app/Models/ProductInventory.php
<?php

namespace App\Models;

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

class ProductInventory extends Model
{
    use HasFactory;
    //use SoftDeletes;


    public function product()
    {
        return $this->belongsTo('App\Models\Product', 'product_id');
    }


    protected $fillable = [

        'created_user_id', 'modified_user_id', 'deleted_user_id', 'product_id', 'batch_no', 

        'in_stock', 'minimum_order', 'sale_qty', 'inventory_status', 'status'
        
    ];


}