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.
65 lines
1.2 KiB
Dart
65 lines
1.2 KiB
Dart
class PatientModel {
|
|
int ProjectID;
|
|
int ClinicID;
|
|
int DoctorID;
|
|
String FirstName;
|
|
String MiddleName;
|
|
String LastName;
|
|
String PatientMobileNumber;
|
|
String PatientIdentificationID;
|
|
int PatientID;
|
|
String From;
|
|
String To;
|
|
int LanguageID;
|
|
String stamp;
|
|
String IPAdress;
|
|
double VersionID;
|
|
int Channel;
|
|
String TokenID;
|
|
String SessionID;
|
|
bool IsLoginForDoctorApp;
|
|
bool PatientOutSA;
|
|
|
|
|
|
getFirstName() {
|
|
return this.FirstName;
|
|
}
|
|
|
|
setFirstName( FirstName) {
|
|
this.FirstName = FirstName;
|
|
}
|
|
|
|
|
|
|
|
PatientModel(
|
|
{this.ProjectID,
|
|
this.ClinicID,
|
|
this.DoctorID,
|
|
this.FirstName,
|
|
this.MiddleName,
|
|
this.LastName,
|
|
this.PatientMobileNumber,
|
|
this.PatientIdentificationID,
|
|
this.PatientID,
|
|
this.From,
|
|
this.To,
|
|
this.LanguageID,
|
|
this.stamp,
|
|
this.IPAdress,
|
|
this.VersionID,
|
|
this.Channel,
|
|
this.TokenID,
|
|
this.SessionID,
|
|
this.IsLoginForDoctorApp,
|
|
this.PatientOutSA});
|
|
|
|
|
|
factory PatientModel.fromJson(Map<String, dynamic> json) => PatientModel(
|
|
|
|
FirstName: json["FirstName"],
|
|
LastName: json["LasttName"],
|
|
|
|
);
|
|
}
|
|
//***************************
|
|
|