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.
114 lines
3.4 KiB
Dart
114 lines
3.4 KiB
Dart
class GetDentalAppointmentsResponse {
|
|
List<ListDentalAppointments>? listDentalAppointments;
|
|
|
|
GetDentalAppointmentsResponse({this.listDentalAppointments});
|
|
|
|
GetDentalAppointmentsResponse.fromJson(Map<String, dynamic> json) {
|
|
if (json['List_DentalAppointments'] != null) {
|
|
listDentalAppointments = [];
|
|
json['List_DentalAppointments'].forEach((v) {
|
|
listDentalAppointments!.add(new ListDentalAppointments.fromJson(v));
|
|
});
|
|
}
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
if (this.listDentalAppointments != null) {
|
|
data['List_DentalAppointments'] =
|
|
this.listDentalAppointments!.map((v) => v.toJson()).toList();
|
|
}
|
|
return data;
|
|
}
|
|
}
|
|
|
|
class ListDentalAppointments {
|
|
String? setupId;
|
|
int? projectID;
|
|
int? patientID;
|
|
int? appointmentNo;
|
|
String? appointmentDate;
|
|
dynamic appointmentDateN;
|
|
int? clinicID;
|
|
int? doctorID;
|
|
int? invoiceNo;
|
|
int? status;
|
|
String? arrivedOn;
|
|
dynamic doctorName;
|
|
String? doctorNameN;
|
|
String? clinicName;
|
|
dynamic decimalDoctorRate;
|
|
String? doctorImageURL;
|
|
dynamic doctorRate;
|
|
int? patientNumber;
|
|
String? projectName;
|
|
|
|
ListDentalAppointments(
|
|
{this.setupId,
|
|
this.projectID,
|
|
this.patientID,
|
|
this.appointmentNo,
|
|
this.appointmentDate,
|
|
this.appointmentDateN,
|
|
this.clinicID,
|
|
this.doctorID,
|
|
this.invoiceNo,
|
|
this.status,
|
|
this.arrivedOn,
|
|
this.doctorName,
|
|
this.doctorNameN,
|
|
this.clinicName,
|
|
this.decimalDoctorRate,
|
|
this.doctorImageURL,
|
|
this.doctorRate,
|
|
this.patientNumber,
|
|
this.projectName});
|
|
|
|
ListDentalAppointments.fromJson(Map<String, dynamic> json) {
|
|
setupId = json['SetupId'];
|
|
projectID = json['ProjectID'];
|
|
patientID = json['PatientID'];
|
|
appointmentNo = json['AppointmentNo'];
|
|
appointmentDate = json['AppointmentDate'];
|
|
appointmentDateN = json['AppointmentDateN'];
|
|
clinicID = json['ClinicID'];
|
|
doctorID = json['DoctorID'];
|
|
invoiceNo = json['InvoiceNo'];
|
|
status = json['Status'];
|
|
arrivedOn = json['ArrivedOn'];
|
|
doctorName = json['DoctorName'];
|
|
doctorNameN = json['DoctorNameN'];
|
|
clinicName = json['ClinicName'];
|
|
decimalDoctorRate = json['DecimalDoctorRate'];
|
|
doctorImageURL = json['DoctorImageURL'];
|
|
doctorRate = json['DoctorRate'];
|
|
patientNumber = json['PatientNumber'];
|
|
projectName = json['ProjectName'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['SetupId'] = this.setupId;
|
|
data['ProjectID'] = this.projectID;
|
|
data['PatientID'] = this.patientID;
|
|
data['AppointmentNo'] = this.appointmentNo;
|
|
data['AppointmentDate'] = this.appointmentDate;
|
|
data['AppointmentDateN'] = this.appointmentDateN;
|
|
data['ClinicID'] = this.clinicID;
|
|
data['DoctorID'] = this.doctorID;
|
|
data['InvoiceNo'] = this.invoiceNo;
|
|
data['Status'] = this.status;
|
|
data['ArrivedOn'] = this.arrivedOn;
|
|
data['DoctorName'] = this.doctorName;
|
|
data['DoctorNameN'] = this.doctorNameN;
|
|
data['ClinicName'] = this.clinicName;
|
|
data['DecimalDoctorRate'] = this.decimalDoctorRate;
|
|
data['DoctorImageURL'] = this.doctorImageURL;
|
|
data['DoctorRate'] = this.doctorRate;
|
|
data['PatientNumber'] = this.patientNumber;
|
|
data['ProjectName'] = this.projectName;
|
|
return data;
|
|
}
|
|
}
|
|
|