'decimal:2', 'price_compare_at' => 'decimal:2', 'shipping_amount' => 'decimal:2', 'stock_qty' => 'integer', 'is_active' => 'boolean', 'is_internal' => 'boolean', 'last_seen_at' => 'datetime', 'meta' => 'array', 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; public function product(): BelongsTo { return $this->belongsTo(Product::class, 'product_id'); } public function fornitore(): BelongsTo { return $this->belongsTo(Fornitore::class, 'fornitore_id'); } }