|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
class DoctorList {
|
|
|
|
|
num clinicID;
|
|
|
|
|
dynamic appointmentNo;
|
|
|
|
|
String clinicName;
|
|
|
|
|
String doctorTitle;
|
|
|
|
|
num iD;
|
|
|
|
@ -45,6 +46,7 @@ class DoctorList {
|
|
|
|
|
|
|
|
|
|
DoctorList(
|
|
|
|
|
{this.clinicID,
|
|
|
|
|
this.appointmentNo,
|
|
|
|
|
this.clinicName,
|
|
|
|
|
this.doctorTitle,
|
|
|
|
|
this.iD,
|
|
|
|
@ -90,6 +92,7 @@ class DoctorList {
|
|
|
|
|
|
|
|
|
|
DoctorList.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
clinicID = json['ClinicID'];
|
|
|
|
|
appointmentNo = json['AppointmentNo'];
|
|
|
|
|
clinicName = json['ClinicName'];
|
|
|
|
|
doctorTitle = json['DoctorTitle'];
|
|
|
|
|
iD = json['ID'];
|
|
|
|
@ -138,6 +141,7 @@ class DoctorList {
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
|
|
|
data['ClinicID'] = this.clinicID;
|
|
|
|
|
data['AppointmentNo'] = this.appointmentNo;
|
|
|
|
|
data['ClinicName'] = this.clinicName;
|
|
|
|
|
data['DoctorTitle'] = this.doctorTitle;
|
|
|
|
|
data['ID'] = this.iD;
|
|
|
|
|