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/GeneralGetReqForSOAP.dart

26 lines
712 B
Dart

class GeneralGetReqForSOAP {
int patientMRN;
int appointmentNo;
int episodeId;
String doctorID;
GeneralGetReqForSOAP(
{this.patientMRN, this.appointmentNo, this.episodeId, this.doctorID});
GeneralGetReqForSOAP.fromJson(Map<String, dynamic> json) {
patientMRN = json['PatientMRN'];
appointmentNo = json['AppointmentNo'];
episodeId = json['EpisodeId'];
doctorID = json['DoctorID'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['PatientMRN'] = this.patientMRN;
data['AppointmentNo'] = this.appointmentNo;
data['EpisodeId'] = this.episodeId;
data['DoctorID'] = this.doctorID;
return data;
}
}