<?php

namespace App\Models;

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

class Outbound extends Model
{
    use HasFactory;
    protected $table = 'outbound';
    public $primaryKey = 'id';
    protected $fillable = [
        'product_id', 'warehouse_id', 'out_qty'
    ];

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

    public function warehouse()
    {
        return $this->belongsTo(WarehouseStock::class);
    }
}
