Merge remote-tracking branch 'origin/sultan' into sultan
# Conflicts: # lib/uitl/date_uitl.dartmerge-update-with-lab-changes
commit
5ea0df9f1e
@ -0,0 +1,151 @@
|
||||
class RegisterUserRequest {
|
||||
Patientobject patientobject;
|
||||
String patientIdentificationID;
|
||||
int patientMobileNumber;
|
||||
String logInTokenID;
|
||||
double versionID;
|
||||
int channel;
|
||||
int languageID;
|
||||
String iPAdress;
|
||||
String generalid;
|
||||
int patientOutSA;
|
||||
Null sessionID;
|
||||
bool isDentalAllowedBackend;
|
||||
int deviceTypeID;
|
||||
|
||||
RegisterUserRequest(
|
||||
{this.patientobject,
|
||||
this.patientIdentificationID,
|
||||
this.patientMobileNumber,
|
||||
this.logInTokenID,
|
||||
this.versionID,
|
||||
this.channel,
|
||||
this.languageID,
|
||||
this.iPAdress,
|
||||
this.generalid,
|
||||
this.patientOutSA,
|
||||
this.sessionID,
|
||||
this.isDentalAllowedBackend,
|
||||
this.deviceTypeID});
|
||||
|
||||
RegisterUserRequest.fromJson(Map<String, dynamic> json) {
|
||||
patientobject = json['Patientobject'] != null
|
||||
? new Patientobject.fromJson(json['Patientobject'])
|
||||
: null;
|
||||
patientIdentificationID = json['PatientIdentificationID'];
|
||||
patientMobileNumber = json['PatientMobileNumber'];
|
||||
logInTokenID = json['LogInTokenID'];
|
||||
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>();
|
||||
if (this.patientobject != null) {
|
||||
data['Patientobject'] = this.patientobject.toJson();
|
||||
}
|
||||
data['PatientIdentificationID'] = this.patientIdentificationID;
|
||||
data['PatientMobileNumber'] = this.patientMobileNumber;
|
||||
data['LogInTokenID'] = this.logInTokenID;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
class Patientobject {
|
||||
bool tempValue;
|
||||
int patientIdentificationType;
|
||||
String patientIdentificationNo;
|
||||
int mobileNumber;
|
||||
int patientOutSA;
|
||||
String firstName;
|
||||
String middleName;
|
||||
String lastName;
|
||||
dynamic strDateofBirth;
|
||||
String dateofBirth;
|
||||
int gender;
|
||||
String nationalityID;
|
||||
String dateofBirthN;
|
||||
String emailAddress;
|
||||
String sourceType;
|
||||
String preferredLanguage;
|
||||
String marital;
|
||||
|
||||
Patientobject(
|
||||
{this.tempValue,
|
||||
this.patientIdentificationType,
|
||||
this.patientIdentificationNo,
|
||||
this.mobileNumber,
|
||||
this.patientOutSA,
|
||||
this.firstName,
|
||||
this.middleName,
|
||||
this.lastName,
|
||||
this.strDateofBirth,
|
||||
this.dateofBirth,
|
||||
this.gender,
|
||||
this.nationalityID,
|
||||
this.dateofBirthN,
|
||||
this.emailAddress,
|
||||
this.sourceType,
|
||||
this.preferredLanguage,
|
||||
this.marital});
|
||||
|
||||
Patientobject.fromJson(Map<String, dynamic> json) {
|
||||
tempValue = json['TempValue'];
|
||||
patientIdentificationType = json['PatientIdentificationType'];
|
||||
patientIdentificationNo = json['PatientIdentificationNo'];
|
||||
mobileNumber = json['MobileNumber'];
|
||||
patientOutSA = json['PatientOutSA'];
|
||||
firstName = json['FirstName'];
|
||||
middleName = json['MiddleName'];
|
||||
lastName = json['LastName'];
|
||||
strDateofBirth = json['StrDateofBirth'];
|
||||
dateofBirth = json['DateofBirth'];
|
||||
gender = json['Gender'];
|
||||
nationalityID = json['NationalityID'];
|
||||
dateofBirthN = json['DateofBirthN'];
|
||||
emailAddress = json['EmailAddress'];
|
||||
sourceType = json['SourceType'];
|
||||
|
||||
preferredLanguage = json['PreferredLanguage'];
|
||||
marital = json['Marital'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['TempValue'] = this.tempValue;
|
||||
data['PatientIdentificationType'] = this.patientIdentificationType;
|
||||
data['PatientIdentificationNo'] = this.patientIdentificationNo;
|
||||
data['MobileNumber'] = this.mobileNumber;
|
||||
data['PatientOutSA'] = this.patientOutSA;
|
||||
data['FirstName'] = this.firstName;
|
||||
data['MiddleName'] = this.middleName;
|
||||
data['LastName'] = this.lastName;
|
||||
data['StrDateofBirth'] = this.strDateofBirth;
|
||||
data['DateofBirth'] = this.dateofBirth;
|
||||
data['Gender'] = this.gender;
|
||||
data['NationalityID'] = this.nationalityID;
|
||||
data['DateofBirthN'] = this.dateofBirthN;
|
||||
data['EmailAddress'] = this.emailAddress;
|
||||
data['SourceType'] = this.sourceType;
|
||||
|
||||
data['PreferredLanguage'] = this.preferredLanguage;
|
||||
data['Marital'] = this.marital;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,104 @@
|
||||
class RegisteredAuthenticatedUserRequest {
|
||||
double versionID;
|
||||
int channel;
|
||||
int languageID;
|
||||
String iPAdress;
|
||||
String generalid;
|
||||
int patientOutSA;
|
||||
String sessionID;
|
||||
bool isDentalAllowedBackend;
|
||||
int deviceTypeID;
|
||||
int patientID;
|
||||
String tokenID;
|
||||
String voipToken;
|
||||
int patientTypeID;
|
||||
int patientType;
|
||||
String deviceToken;
|
||||
String deviceType;
|
||||
String patientMobileNumber;
|
||||
String nationalID;
|
||||
int gender;
|
||||
int loginType;
|
||||
String mACAddress;
|
||||
int latitude;
|
||||
int longitude;
|
||||
|
||||
RegisteredAuthenticatedUserRequest(
|
||||
{this.versionID,
|
||||
this.channel,
|
||||
this.languageID,
|
||||
this.iPAdress,
|
||||
this.generalid,
|
||||
this.patientOutSA,
|
||||
this.sessionID,
|
||||
this.isDentalAllowedBackend,
|
||||
this.deviceTypeID,
|
||||
this.patientID,
|
||||
this.tokenID,
|
||||
this.voipToken,
|
||||
this.patientTypeID,
|
||||
this.patientType,
|
||||
this.deviceToken,
|
||||
this.deviceType,
|
||||
this.patientMobileNumber,
|
||||
this.nationalID,
|
||||
this.gender,
|
||||
this.loginType,
|
||||
this.mACAddress,
|
||||
this.latitude,
|
||||
this.longitude});
|
||||
|
||||
RegisteredAuthenticatedUserRequest.fromJson(Map<String, dynamic> json) {
|
||||
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'];
|
||||
patientID = json['PatientID'];
|
||||
tokenID = json['TokenID'];
|
||||
voipToken = json['VoipToken'];
|
||||
patientTypeID = json['PatientTypeID'];
|
||||
patientType = json['PatientType'];
|
||||
deviceToken = json['DeviceToken'];
|
||||
deviceType = json['DeviceType'];
|
||||
patientMobileNumber = json['PatientMobileNumber'];
|
||||
nationalID = json['NationalID'];
|
||||
gender = json['Gender'];
|
||||
loginType = json['LoginType'];
|
||||
mACAddress = json['MACAddress'];
|
||||
latitude = json['Latitude'];
|
||||
longitude = json['Longitude'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
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;
|
||||
data['PatientID'] = this.patientID;
|
||||
data['TokenID'] = this.tokenID;
|
||||
data['VoipToken'] = this.voipToken;
|
||||
data['PatientTypeID'] = this.patientTypeID;
|
||||
data['PatientType'] = this.patientType;
|
||||
data['DeviceToken'] = this.deviceToken;
|
||||
data['DeviceType'] = this.deviceType;
|
||||
data['PatientMobileNumber'] = this.patientMobileNumber;
|
||||
data['NationalID'] = this.nationalID;
|
||||
data['Gender'] = this.gender;
|
||||
data['LoginType'] = this.loginType;
|
||||
data['MACAddress'] = this.mACAddress;
|
||||
data['Latitude'] = this.latitude;
|
||||
data['Longitude'] = this.longitude;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue