<?php

namespace Modules\Inventory\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Modules\Core\Traits\HasStatus;
use Modules\Inventory\Models\Traits\HasInventoryDepartment;
use Modules\Inventory\Models\Traits\HasProduct;
use Modules\Inventory\Models\Traits\HasStockBatches;
use Modules\Inventory\Models\Traits\HasStockMovements;

// use Modules\Inventory\Database\Factories\StockFactory;

class Stock extends Model
{
    use HasStatus,
        HasInventoryDepartment,
        HasProduct,
        HasStockBatches,
        HasStockMovements,
        SoftDeletes;

    /**
     * The attributes that are mass assignable.
     */
    protected $fillable = [
        'inventory_department_id',
        'product_id',
        'current_qty',
        'reserved_qty',
        'damaged_qty',
        'status',
    ];
}
