update
This commit is contained in:
@@ -102,4 +102,9 @@ class User extends Authenticatable
|
||||
{
|
||||
return $this->belongsTo(User::class, 'subvendedor_id');
|
||||
}
|
||||
|
||||
public function subusuarios()
|
||||
{
|
||||
return $this->hasMany(User::class, 'subvendedor_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user