public function restored(Inventory $model)
    {
        $stocks = $model->stocks()->onlyTrashed()->get();

        if (count($stocks) > 0) {
            foreach ($stocks as $stock) {
                $stock->restore();
            }
        }
    }