feat: Add API endpoints for staff online status and queue monitoring.

This commit is contained in:
pbao9
2026-03-11 11:22:51 +07:00
parent 5649674eb4
commit 74cbe2fe1a
4 changed files with 241 additions and 0 deletions
+5
View File
@@ -62,4 +62,9 @@ class User extends Authenticatable implements JWTSubject
return [];
}
public function staffOnline()
{
return $this->hasOne(\App\Models\Staff::class, 'user_id', 'id');
}
}