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.
doctor_app_flutter/lib/models/patient/insurance_aprovals_request....

87 lines
2.3 KiB
Dart

/*
*@author: Ibrahim Albitar
*@Date:15/5/2020
*@param:
{"PatientID":1089227,
"PatientTypeID":1,
"EXuldAPPNO":0,
"ProjectID":12,
"LanguageID":2,
"stamp":"2020-04-01T09:47:19.643Z",
"IPAdress":"11.11.11.11",
"VersionID":1.2,
"Channel":9,
"TokenID":"yIwh6wNyUkOeQlJRohWjyw==",
"SessionID":"LlBk8lUEJY",
"IsLoginForDoctorApp":true,
"PatientOutSA":false}
*@return:
*@desc:
*/
class InsuranceAprovalsRequest {
int? exuldAppNO;
int? patientID;
int? channel;
int? projectID;
int? languageID;
String? stamp;
String? ipAdress;
double? versionID;
String? tokenID;
String? sessionID;
bool? isLoginForDoctorApp;
bool? patientOutSA;
int? patientTypeID;
InsuranceAprovalsRequest(
{this.exuldAppNO,
this.patientID,
this.channel = 9,
this.projectID = 12,
this.patientTypeID = 1,
this.languageID = 2,
this.stamp = '2020-04-23T21:01:21.492Z',
this.ipAdress = '11.11.11.11',
this.versionID = 5.8,
this.tokenID,
this.sessionID = 'e29zoooEJ4',
this.isLoginForDoctorApp = true,
this.patientOutSA = false});
InsuranceAprovalsRequest.fromJson(Map<String?, dynamic> json) {
exuldAppNO = json['EXuldAPPNO'];
patientID = json['PatientID'];
channel = json['Channel'];
projectID = json['ProjectID'];
patientTypeID = json['PatientTypeID'];
languageID = json['LanguageID'];
stamp = json['stamp'];
ipAdress = json['IPAdress'];
versionID = json['VersionID'];
tokenID = json['TokenID'];
sessionID = json['SessionID'];
isLoginForDoctorApp = json['IsLoginForDoctorApp'];
patientOutSA = json['PatientOutSA'];
}
Map<String?, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>();
data['EXuldAPPNO'] = this.exuldAppNO;
data['PatientID'] = this.patientID;
data['Channel'] = this.channel;
data['ProjectID'] = this.projectID;
data['PatientTypeID'] = this.patientTypeID;
data['LanguageID'] = this.languageID;
data['stamp'] = this.stamp;
data['IPAdress'] = this.ipAdress;
data['VersionID'] = this.versionID;
data['TokenID'] = this.tokenID;
data['SessionID'] = this.sessionID;
data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
data['PatientOutSA'] = this.patientOutSA;
return data;
}
}