'decimal:3', 'safety_stock_base' => 'decimal:3', ]; /** * Get the product associated with this stock item. */ public function product(): BelongsTo { return $this->belongsTo(Product::class); } /** * Get the warehouse where this stock item is located. */ public function warehouse(): BelongsTo { return $this->belongsTo(Warehouse::class); } }