where('product_key', '=', $key)->first(); } public function user() { return $this->belongsTo('App\Models\User')->withTrashed(); } public function default_tax_rate() { return $this->belongsTo('App\Models\TaxRate'); } }