|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
*@author:Modified by amjad add getter and setter Amjad Amireh
|
|
|
|
|
*@Date:11/5/2020
|
|
|
|
@ -29,7 +28,7 @@ class PatientModel {
|
|
|
|
|
String SessionID;
|
|
|
|
|
bool IsLoginForDoctorApp;
|
|
|
|
|
bool PatientOutSA;
|
|
|
|
|
|
|
|
|
|
int Searchtype;
|
|
|
|
|
|
|
|
|
|
int get getProjectID => ProjectID;
|
|
|
|
|
|
|
|
|
@ -56,7 +55,8 @@ class PatientModel {
|
|
|
|
|
|
|
|
|
|
String get getPatientMobileNumber => PatientMobileNumber;
|
|
|
|
|
|
|
|
|
|
set setPatientMobileNumber(String PatientMobileNumber) => this.PatientMobileNumber = PatientMobileNumber;
|
|
|
|
|
set setPatientMobileNumber(String PatientMobileNumber) =>
|
|
|
|
|
this.PatientMobileNumber = PatientMobileNumber;
|
|
|
|
|
|
|
|
|
|
// String get getPatientIdentificationID => PatientIdentificationID;
|
|
|
|
|
|
|
|
|
@ -104,17 +104,13 @@ class PatientModel {
|
|
|
|
|
|
|
|
|
|
bool get getIsLoginForDoctorApp => IsLoginForDoctorApp;
|
|
|
|
|
|
|
|
|
|
set setIsLoginForDoctorApp(bool IsLoginForDoctorApp) => this.IsLoginForDoctorApp = IsLoginForDoctorApp;
|
|
|
|
|
set setIsLoginForDoctorApp(bool IsLoginForDoctorApp) =>
|
|
|
|
|
this.IsLoginForDoctorApp = IsLoginForDoctorApp;
|
|
|
|
|
|
|
|
|
|
bool get getPatientOutSA => PatientOutSA;
|
|
|
|
|
|
|
|
|
|
set setPatientOutSA(bool PatientOutSA) => this.PatientOutSA = PatientOutSA;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PatientModel(
|
|
|
|
|
{this.ProjectID,
|
|
|
|
|
this.ClinicID,
|
|
|
|
@ -135,14 +131,12 @@ class PatientModel {
|
|
|
|
|
this.TokenID,
|
|
|
|
|
this.SessionID,
|
|
|
|
|
this.IsLoginForDoctorApp,
|
|
|
|
|
this.PatientOutSA});
|
|
|
|
|
|
|
|
|
|
this.PatientOutSA,
|
|
|
|
|
this.Searchtype});
|
|
|
|
|
|
|
|
|
|
factory PatientModel.fromJson(Map<String, dynamic> json) => PatientModel(
|
|
|
|
|
|
|
|
|
|
FirstName: json["FirstName"],
|
|
|
|
|
LastName: json["LasttName"],
|
|
|
|
|
|
|
|
|
|
);
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
|
|
@ -167,8 +161,8 @@ class PatientModel {
|
|
|
|
|
data['SessionID'] = this.SessionID;
|
|
|
|
|
data['IsLoginForDoctorApp'] = this.IsLoginForDoctorApp;
|
|
|
|
|
data['PatientOutSA'] = this.PatientOutSA;
|
|
|
|
|
data['Searchtype'] = this.Searchtype;
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//***************************
|
|
|
|
|
|