login changes
parent
f8d8e1c685
commit
5a08cb720c
@ -0,0 +1 @@
|
||||
include ':app'
|
||||
@ -1,11 +1,14 @@
|
||||
|
||||
const MAX_SMALL_SCREEN = 660;
|
||||
|
||||
const BASE_URL = 'https://uat.hmgwebservices.com/Services';
|
||||
const BASE_URL = 'https://hmgwebservices.com/Services';
|
||||
|
||||
const GET_PROJECT = '/Lists.svc/REST/GetProject';
|
||||
|
||||
|
||||
class AppGlobal {
|
||||
static var context;
|
||||
}
|
||||
|
||||
const CHANNEL = 3;
|
||||
const GENERAL_ID = 'Cs2020@2016\$2958';
|
||||
const IP_ADDRESS = '10.20.10.20';
|
||||
const VERSION_ID = 5.5;
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
const TOKEN = 'token';
|
||||
const APP_LANGUAGE = 'language';
|
||||
const USER_PROFILE = 'user-profile';
|
||||
const PUSH_TOKEN = 'push-token';
|
||||
const REGISTER_DATA_FOR_REGISTER = 'register-data-for-register';
|
||||
const LOGIN_TOKEN_ID = 'register-data-for-register';
|
||||
const REGISTER_DATA_FOR_LOGIIN = 'register-data-for-login';
|
||||
|
||||
@ -0,0 +1,76 @@
|
||||
class CheckPatientAuthenticationReq {
|
||||
int patientMobileNumber;
|
||||
String zipCode;
|
||||
bool isRegister;
|
||||
String tokenID;
|
||||
int searchType;
|
||||
String patientIdentificationID;
|
||||
int patientID;
|
||||
double versionID;
|
||||
int channel;
|
||||
int languageID;
|
||||
String iPAdress;
|
||||
String generalid;
|
||||
int patientOutSA;
|
||||
Null sessionID;
|
||||
bool isDentalAllowedBackend;
|
||||
int deviceTypeID;
|
||||
|
||||
CheckPatientAuthenticationReq(
|
||||
{this.patientMobileNumber,
|
||||
this.zipCode,
|
||||
this.isRegister,
|
||||
this.tokenID,
|
||||
this.searchType,
|
||||
this.patientIdentificationID,
|
||||
this.patientID,
|
||||
this.versionID,
|
||||
this.channel,
|
||||
this.languageID,
|
||||
this.iPAdress,
|
||||
this.generalid,
|
||||
this.patientOutSA,
|
||||
this.sessionID,
|
||||
this.isDentalAllowedBackend,
|
||||
this.deviceTypeID});
|
||||
|
||||
CheckPatientAuthenticationReq.fromJson(Map<String, dynamic> json) {
|
||||
patientMobileNumber = json['PatientMobileNumber'];
|
||||
zipCode = json['ZipCode'];
|
||||
isRegister = json['isRegister'];
|
||||
tokenID = json['TokenID'];
|
||||
searchType = json['SearchType'];
|
||||
patientIdentificationID = json['PatientIdentificationID'];
|
||||
patientID = json['PatientID'];
|
||||
versionID = json['VersionID'];
|
||||
channel = json['Channel'];
|
||||
languageID = json['LanguageID'];
|
||||
iPAdress = json['IPAdress'];
|
||||
generalid = json['generalid'];
|
||||
patientOutSA = json['PatientOutSA'];
|
||||
sessionID = json['SessionID'];
|
||||
isDentalAllowedBackend = json['isDentalAllowedBackend'];
|
||||
deviceTypeID = json['DeviceTypeID'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['PatientMobileNumber'] = this.patientMobileNumber;
|
||||
data['ZipCode'] = this.zipCode;
|
||||
data['isRegister'] = this.isRegister;
|
||||
data['TokenID'] = this.tokenID;
|
||||
data['SearchType'] = this.searchType;
|
||||
data['PatientIdentificationID'] = this.patientIdentificationID;
|
||||
data['PatientID'] = this.patientID;
|
||||
data['VersionID'] = this.versionID;
|
||||
data['Channel'] = this.channel;
|
||||
data['LanguageID'] = this.languageID;
|
||||
data['IPAdress'] = this.iPAdress;
|
||||
data['generalid'] = this.generalid;
|
||||
data['PatientOutSA'] = this.patientOutSA;
|
||||
data['SessionID'] = this.sessionID;
|
||||
data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
|
||||
data['DeviceTypeID'] = this.deviceTypeID;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue