Merge pull request 'haroon_dev' (#134) from haroon_dev into master
Reviewed-on: https://34.17.182.140/Haroon6138/HMG_Patient_App_New/pulls/134pull/139/head
commit
8a589ecaaf
@ -0,0 +1,64 @@
|
|||||||
|
class AppointmentNearestGateResponseModel {
|
||||||
|
String? clinicDescription;
|
||||||
|
String? clinicDescriptionN;
|
||||||
|
int? clinicID;
|
||||||
|
String? clinicLocation;
|
||||||
|
String? clinicLocationN;
|
||||||
|
int? gender;
|
||||||
|
int? iD;
|
||||||
|
String? nearestGateNumber;
|
||||||
|
String? nearestGateNumberN;
|
||||||
|
int? projectID;
|
||||||
|
String? projectName;
|
||||||
|
String? projectNameN;
|
||||||
|
int? rowID;
|
||||||
|
|
||||||
|
AppointmentNearestGateResponseModel(
|
||||||
|
{this.clinicDescription,
|
||||||
|
this.clinicDescriptionN,
|
||||||
|
this.clinicID,
|
||||||
|
this.clinicLocation,
|
||||||
|
this.clinicLocationN,
|
||||||
|
this.gender,
|
||||||
|
this.iD,
|
||||||
|
this.nearestGateNumber,
|
||||||
|
this.nearestGateNumberN,
|
||||||
|
this.projectID,
|
||||||
|
this.projectName,
|
||||||
|
this.projectNameN,
|
||||||
|
this.rowID});
|
||||||
|
|
||||||
|
AppointmentNearestGateResponseModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
clinicDescription = json['ClinicDescription'];
|
||||||
|
clinicDescriptionN = json['ClinicDescriptionN'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
clinicLocation = json['ClinicLocation'];
|
||||||
|
clinicLocationN = json['ClinicLocationN'];
|
||||||
|
gender = json['Gender'];
|
||||||
|
iD = json['ID'];
|
||||||
|
nearestGateNumber = json['NearestGateNumber'];
|
||||||
|
nearestGateNumberN = json['NearestGateNumberN'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
projectName = json['ProjectName'];
|
||||||
|
projectNameN = json['ProjectNameN'];
|
||||||
|
rowID = json['RowID'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = Map<String, dynamic>();
|
||||||
|
data['ClinicDescription'] = clinicDescription;
|
||||||
|
data['ClinicDescriptionN'] = clinicDescriptionN;
|
||||||
|
data['ClinicID'] = clinicID;
|
||||||
|
data['ClinicLocation'] = clinicLocation;
|
||||||
|
data['ClinicLocationN'] = clinicLocationN;
|
||||||
|
data['Gender'] = gender;
|
||||||
|
data['ID'] = iD;
|
||||||
|
data['NearestGateNumber'] = nearestGateNumber;
|
||||||
|
data['NearestGateNumberN'] = nearestGateNumberN;
|
||||||
|
data['ProjectID'] = projectID;
|
||||||
|
data['ProjectName'] = projectName;
|
||||||
|
data['ProjectNameN'] = projectNameN;
|
||||||
|
data['RowID'] = rowID;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue