mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-20 09:30:49 +08:00
[admin] add setting backup
This commit is contained in:
@@ -24,4 +24,14 @@ class Invite extends NexusModel
|
||||
return self::$validInfo[$this->valid]['text'] ?? '';
|
||||
}
|
||||
|
||||
public function inviter_user()
|
||||
{
|
||||
return $this->belongsTo(User::class, 'inviter');
|
||||
}
|
||||
|
||||
public function invitee_user()
|
||||
{
|
||||
return $this->belongsTo(User::class, 'invitee_register_uid');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user