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/SOAP/GetHistoryReqModel.dart

51 lines
1.2 KiB
Dart

class GetHistoryReqModel {
int patientMRN;
int historyType;
String episodeID;
String from;
String to;
int clinicID;
int appointmentNo;
dynamic editedBy;
dynamic doctorID;
GetHistoryReqModel(
{this.patientMRN,
this.historyType,
this.episodeID,
this.from,
this.to,
this.clinicID,
this.doctorID,
this.editedBy,
this.appointmentNo});
GetHistoryReqModel.fromJson(Map<String, dynamic> json) {
patientMRN = json['PatientMRN'];
historyType = json['HistoryType'];
episodeID = json['EpisodeID'];
from = json['From'];
to = json['To'];
clinicID = json['ClinicID'];
doctorID = json['DoctorID'];
appointmentNo = json['AppointmentNo'];
editedBy = json['EditedBy'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['PatientMRN'] = this.patientMRN;
data['HistoryType'] = this.historyType;
data['AppointmentNo'] = this.appointmentNo;
data['EpisodeID'] = this.episodeID;
data['From'] = this.from;
data['To'] = this.to;
data['ClinicID'] = this.clinicID;
data['DoctorID'] = this.doctorID;
data['EditedBy'] = this.editedBy;
return data;
}
}