<?php

namespace App\Models;

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

class WarehouseStock extends Model
{
    use HasFactory;
    protected $table = 'warehouse_stock';
    public $primaryKey = 'id';
    protected $fillable = [
        'product_id', 'qty'
    ];

    public function product()
    {
        return $this->belongsTo(MasterProduct::class);
    }
}
