You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
2.2 KiB
Dart
73 lines
2.2 KiB
Dart
class CheckPatientForRegistration {
|
|
int patientIdentificationID;
|
|
int patientMobileNumber;
|
|
String zipCode;
|
|
double versionID;
|
|
int channel;
|
|
int languageID;
|
|
String iPAdress;
|
|
String generalid;
|
|
int patientOutSA;
|
|
Null sessionID;
|
|
bool isDentalAllowedBackend;
|
|
int deviceTypeID;
|
|
String tokenID;
|
|
int patientID;
|
|
bool isRegister;
|
|
|
|
CheckPatientForRegistration(
|
|
{this.patientIdentificationID,
|
|
this.patientMobileNumber,
|
|
this.zipCode,
|
|
this.versionID,
|
|
this.channel,
|
|
this.languageID,
|
|
this.iPAdress,
|
|
this.generalid,
|
|
this.patientOutSA,
|
|
this.sessionID,
|
|
this.isDentalAllowedBackend,
|
|
this.deviceTypeID,
|
|
this.tokenID,
|
|
this.patientID,
|
|
this.isRegister});
|
|
|
|
CheckPatientForRegistration.fromJson(Map<String, dynamic> json) {
|
|
patientIdentificationID = json['PatientIdentificationID'];
|
|
patientMobileNumber = json['PatientMobileNumber'];
|
|
zipCode = json['ZipCode'];
|
|
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'];
|
|
tokenID = json['TokenID'];
|
|
patientID = json['PatientID'];
|
|
isRegister = json['isRegister'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['PatientIdentificationID'] = this.patientIdentificationID;
|
|
data['PatientMobileNumber'] = this.patientMobileNumber;
|
|
data['ZipCode'] = this.zipCode;
|
|
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['TokenID'] = this.tokenID;
|
|
data['PatientID'] = this.patientID;
|
|
data['isRegister'] = this.isRegister;
|
|
return data;
|
|
}
|
|
}
|