public function getAppointmentStaff() { if (!HospitalEmployee::isStaff()) { return response()->json(["success" => false, "error" => 'notlogin or notvalid']); } return response()->json(["success" => true, "data" => Appointment::getAppointmentStaff()]); }