import 'dart:ui';

import 'package:flutter/material.dart';

import '../bean/doctor_list.dart';
import '../bean/login_entity.dart';
import '../bean/user_list.dart';

class Global{
  static const String ServerUrl = 'http://152.136.59.80/apps/ajf-dakaxunjian/pdaPatrol/';
  static const BackgroundColor = Color.fromARGB(0xff, 0xef, 0xef, 0xef);
  static const StatusBarColor = Colors.blueAccent;
  static String RootUrl = '39.105.121.97';
  // static const String RootUrl = '192.168.3.142';
  static String Port = '8080';
  static String BaseUrl = 'http://' + RootUrl + ':' + Port + '/api/app/';
  static String ImageUrl = 'http://' + RootUrl + ':' + Port + '/api';
  static String ChatPort = '8002';
  static String SocketUrl = 'ws://' + RootUrl + ':' + ChatPort + '/ws';
  static const int responseSuccessCode = 200;
  static String token = "";
  static String clinic = "";
  static String loginPhoneNo = "";
  static String appointmentPersonId = "";
  static String userId = "";
  static String userIdentificationCard = "";
  static UserListEntity patient = new UserListEntity();
  static int selectPatient = -1;
  static DoctorListEntity doctor = new DoctorListEntity();
  static int selectDoctor = -1;
  static LoginEntity user = new LoginEntity();
}