commit
						0e76e95636
					
				| @ -0,0 +1,109 @@ | ||||
| import 'dart:convert'; | ||||
| 
 | ||||
| class InsertPatientMobileDeviceInfo { | ||||
|   double? versionId; | ||||
|   int? channel; | ||||
|   int? languageId; | ||||
|   String? ipAdress; | ||||
|   String? generalid; | ||||
|   int? patientOutSa; | ||||
|   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; | ||||
|   double? latitude; | ||||
|   double? longitude; | ||||
|   String? sessionId; | ||||
| 
 | ||||
|   InsertPatientMobileDeviceInfo({ | ||||
|     this.versionId, | ||||
|     this.channel, | ||||
|     this.languageId, | ||||
|     this.ipAdress, | ||||
|     this.generalid, | ||||
|     this.patientOutSa, | ||||
|     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, | ||||
|     this.sessionId, | ||||
|   }); | ||||
| 
 | ||||
|   factory InsertPatientMobileDeviceInfo.fromRawJson(String str) => InsertPatientMobileDeviceInfo.fromJson(json.decode(str)); | ||||
| 
 | ||||
|   String toRawJson() => json.encode(toJson()); | ||||
| 
 | ||||
|   factory InsertPatientMobileDeviceInfo.fromJson(Map<String, dynamic> json) => InsertPatientMobileDeviceInfo( | ||||
|     versionId: json["VersionID"]?.toDouble(), | ||||
|     channel: json["Channel"], | ||||
|     languageId: json["LanguageID"], | ||||
|     ipAdress: json["IPAdress"], | ||||
|     generalid: json["generalid"], | ||||
|     patientOutSa: json["PatientOutSA"], | ||||
|     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"], | ||||
|     sessionId: json[" SessionID"], | ||||
|   ); | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() => { | ||||
|     "VersionID": versionId, | ||||
|     "Channel": channel, | ||||
|     "LanguageID": languageId, | ||||
|     "IPAdress": ipAdress, | ||||
|     "generalid": generalid, | ||||
|     "PatientOutSA": patientOutSa, | ||||
|     "isDentalAllowedBackend": isDentalAllowedBackend, | ||||
|     "DeviceTypeID": deviceTypeId, | ||||
|     "PatientID": patientId, | ||||
|     "TokenID": tokenId, | ||||
|     "VoipToken": voipToken, | ||||
|     "PatientTypeID": patientTypeId, | ||||
|     "PatientType": patientType, | ||||
|     "DeviceToken": deviceToken, | ||||
|     "DeviceType": deviceType, | ||||
|     "PatientMobileNumber": patientMobileNumber, | ||||
|     "NationalID": nationalId, | ||||
|     "Gender": gender, | ||||
|     "LoginType": loginType, | ||||
|     "MACAddress": macAddress, | ||||
|     "Latitude": latitude, | ||||
|     "Longitude": longitude, | ||||
|     " SessionID": sessionId, | ||||
|   }; | ||||
| } | ||||
| @ -0,0 +1,126 @@ | ||||
| import 'dart:convert'; | ||||
| 
 | ||||
| class PatientInsertDeviceImei { | ||||
|   String? setupId; | ||||
|   int? patientType; | ||||
|   int? patientId; | ||||
|   String? firstName; | ||||
|   String? firstNameN; | ||||
|   String? lastNameN; | ||||
|   int? preferredLanguage; | ||||
|   String? patientIdentificationNo; | ||||
|   bool? outSa; | ||||
|   String? identificationNo; | ||||
|   String? mobileNo; | ||||
|   String? tokenId; | ||||
|   String? imei; | ||||
|   bool? biometricEnabled; | ||||
|   int? logInTypeId; | ||||
|   double? versionId; | ||||
|   int? channel; | ||||
|   int? languageId; | ||||
|   String? ipAdress; | ||||
|   String? generalid; | ||||
|   int? latitude; | ||||
|   int? longitude; | ||||
|   int? deviceTypeId; | ||||
|   int? patientTypeId; | ||||
|   int? patientOutSa; | ||||
|   String? sessionId; | ||||
|   String? lastName; | ||||
| 
 | ||||
|   PatientInsertDeviceImei({ | ||||
|     this.setupId, | ||||
|     this.patientType, | ||||
|     this.patientId, | ||||
|     this.firstName, | ||||
|     this.firstNameN, | ||||
|     this.lastNameN, | ||||
|     this.preferredLanguage, | ||||
|     this.patientIdentificationNo, | ||||
|     this.outSa, | ||||
|     this.identificationNo, | ||||
|     this.mobileNo, | ||||
|     this.tokenId, | ||||
|     this.imei, | ||||
|     this.biometricEnabled, | ||||
|     this.logInTypeId, | ||||
|     this.versionId, | ||||
|     this.channel, | ||||
|     this.languageId, | ||||
|     this.ipAdress, | ||||
|     this.generalid, | ||||
|     this.latitude, | ||||
|     this.longitude, | ||||
|     this.deviceTypeId, | ||||
|     this.patientTypeId, | ||||
|     this.patientOutSa, | ||||
|     this.sessionId, | ||||
|     this.lastName | ||||
|   }); | ||||
| 
 | ||||
|   factory PatientInsertDeviceImei.fromRawJson(String str) => PatientInsertDeviceImei.fromJson(json.decode(str)); | ||||
| 
 | ||||
|   String toRawJson() => json.encode(toJson()); | ||||
| 
 | ||||
|   factory PatientInsertDeviceImei.fromJson(Map<String, dynamic> json) => PatientInsertDeviceImei( | ||||
|     setupId: json["SetupID"], | ||||
|     patientType: json["PatientType"], | ||||
|     patientId: json["PatientID"], | ||||
|     firstName: json["FirstName"], | ||||
|     firstNameN: json["FirstNameN"], | ||||
|     lastNameN: json["LastNameN"], | ||||
|     preferredLanguage: json["PreferredLanguage"], | ||||
|     patientIdentificationNo: json["PatientIdentificationNo"], | ||||
|     outSa: json["OutSA"], | ||||
|     identificationNo: json["IdentificationNo"], | ||||
|     mobileNo: json["MobileNo"], | ||||
|     tokenId: json["TokenID"], | ||||
|     imei: json["IMEI"], | ||||
|     biometricEnabled: json["BiometricEnabled"], | ||||
|     logInTypeId: json["LogInTypeID"], | ||||
|     versionId: json["VersionID"]?.toDouble(), | ||||
|     channel: json["Channel"], | ||||
|     languageId: json["LanguageID"], | ||||
|     ipAdress: json["IPAdress"], | ||||
|     generalid: json["generalid"], | ||||
|     latitude: json["Latitude"], | ||||
|     longitude: json["Longitude"], | ||||
|     deviceTypeId: json["DeviceTypeID"], | ||||
|     patientTypeId: json["PatientTypeID"], | ||||
|     patientOutSa: json["PatientOutSA"], | ||||
|     sessionId: json["SessionID"], | ||||
|     lastName: json["LastName"], | ||||
| 
 | ||||
|   ); | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() => { | ||||
|     "SetupID": setupId, | ||||
|     "PatientType": patientType, | ||||
|     "PatientID": patientId, | ||||
|     "FirstName": firstName, | ||||
|     "FirstNameN": firstNameN, | ||||
|     "LastNameN": lastNameN, | ||||
|     "PreferredLanguage": preferredLanguage, | ||||
|     "PatientIdentificationNo": patientIdentificationNo, | ||||
|     "OutSA": outSa, | ||||
|     "IdentificationNo": identificationNo, | ||||
|     "MobileNo": mobileNo, | ||||
|     "TokenID": tokenId, | ||||
|     "IMEI": imei, | ||||
|     "BiometricEnabled": biometricEnabled, | ||||
|     "LogInTypeID": logInTypeId, | ||||
|     "VersionID": versionId, | ||||
|     "Channel": channel, | ||||
|     "LanguageID": languageId, | ||||
|     "IPAdress": ipAdress, | ||||
|     "generalid": generalid, | ||||
|     "Latitude": latitude, | ||||
|     "Longitude": longitude, | ||||
|     "DeviceTypeID": deviceTypeId, | ||||
|     "PatientTypeID": patientTypeId, | ||||
|     "PatientOutSA": patientOutSa, | ||||
|     "SessionID": sessionId, | ||||
|     "LastName": lastName, | ||||
|   }; | ||||
| } | ||||
| @ -0,0 +1,69 @@ | ||||
| import 'dart:convert'; | ||||
| 
 | ||||
| class RegistrationDataModelPayload { | ||||
|   int? patientMobileNumber; | ||||
|   String? zipCode; | ||||
|   int? searchType; | ||||
|   int? patientId; | ||||
|   int? patientIdentificationId; | ||||
|   int? otpSendType; | ||||
|   int? patientOutSa; | ||||
|   bool? isDentalAllowedBackend; | ||||
|   String? dob; | ||||
|   int? isHijri; | ||||
|   bool? forRegister; | ||||
|   bool? isRegister; | ||||
|   String? healthId; | ||||
| 
 | ||||
|   RegistrationDataModelPayload({ | ||||
|     this.patientMobileNumber, | ||||
|     this.zipCode, | ||||
|     this.searchType, | ||||
|     this.patientId, | ||||
|     this.patientIdentificationId, | ||||
|     this.otpSendType, | ||||
|     this.patientOutSa, | ||||
|     this.isDentalAllowedBackend, | ||||
|     this.dob, | ||||
|     this.isHijri, | ||||
|     this.forRegister, | ||||
|     this.isRegister, | ||||
|     this.healthId, | ||||
|   }); | ||||
| 
 | ||||
|   factory RegistrationDataModelPayload.fromRawJson(String str) => RegistrationDataModelPayload.fromJson(json.decode(str)); | ||||
| 
 | ||||
|   String toRawJson() => json.encode(toJson()); | ||||
| 
 | ||||
|   factory RegistrationDataModelPayload.fromJson(Map<String, dynamic> json) => RegistrationDataModelPayload( | ||||
|         patientMobileNumber: json["PatientMobileNumber"], | ||||
|         zipCode: json["ZipCode"], | ||||
|         searchType: json["SearchType"], | ||||
|         patientId: json["PatientID"], | ||||
|         patientIdentificationId: json["PatientIdentificationID"], | ||||
|         otpSendType: json["OTP_SendType"], | ||||
|         patientOutSa: json["PatientOutSA"], | ||||
|         isDentalAllowedBackend: json["isDentalAllowedBackend"], | ||||
|         dob: json["DOB"], | ||||
|         isHijri: json["IsHijri"], | ||||
|         forRegister: json["forRegister"], | ||||
|         isRegister: json["isRegister"], | ||||
|         healthId: json["healthId"], | ||||
|       ); | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() => { | ||||
|         "PatientMobileNumber": patientMobileNumber, | ||||
|         "ZipCode": zipCode, | ||||
|         "SearchType": searchType, | ||||
|         "PatientID": patientId, | ||||
|         "PatientIdentificationID": patientIdentificationId, | ||||
|         "OTP_SendType": otpSendType, | ||||
|         "PatientOutSA": patientOutSa, | ||||
|         "isDentalAllowedBackend": isDentalAllowedBackend, | ||||
|         "DOB": dob, | ||||
|         "IsHijri": isHijri, | ||||
|         "forRegister": forRegister, | ||||
|         "isRegister": isRegister, | ||||
|         "healthId": healthId, | ||||
|       }; | ||||
| } | ||||
					Loading…
					
					
				
		Reference in New Issue