belongsTo(User::class, 'assigned_user_id', 'id'); } public function invoices() { return $this->morphToMany(Invoice::class, 'creditable'); } }