@ -1,88 +1,93 @@
|
||||
import 'dart:convert';
|
||||
|
||||
class GetInvoicesListResponseModel {
|
||||
String? setupId;
|
||||
int? projectID;
|
||||
int? patientID;
|
||||
int? projectId;
|
||||
int? patientId;
|
||||
int? appointmentNo;
|
||||
String? appointmentDate;
|
||||
String? appointmentDateN;
|
||||
int? clinicID;
|
||||
int? doctorID;
|
||||
dynamic appointmentDateN;
|
||||
int? clinicId;
|
||||
int? doctorId;
|
||||
int? invoiceNo;
|
||||
int? status;
|
||||
String? arrivedOn;
|
||||
String? doctorName;
|
||||
String? doctorNameN;
|
||||
String? clinicName;
|
||||
num? decimalDoctorRate;
|
||||
String? doctorImageURL;
|
||||
num? doctorRate;
|
||||
num? patientNumber;
|
||||
double? decimalDoctorRate;
|
||||
String? doctorImageUrl;
|
||||
int? doctorRate;
|
||||
int? patientNumber;
|
||||
String? projectName;
|
||||
|
||||
GetInvoicesListResponseModel(
|
||||
{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});
|
||||
GetInvoicesListResponseModel({
|
||||
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,
|
||||
});
|
||||
|
||||
factory GetInvoicesListResponseModel.fromRawJson(String str) => GetInvoicesListResponseModel.fromJson(json.decode(str));
|
||||
|
||||
String toRawJson() => json.encode(toJson());
|
||||
|
||||
GetInvoicesListResponseModel.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'];
|
||||
}
|
||||
factory GetInvoicesListResponseModel.fromJson(Map<String, dynamic> json) => GetInvoicesListResponseModel(
|
||||
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"]?.toDouble(),
|
||||
doctorImageUrl: json["DoctorImageURL"],
|
||||
doctorRate: json["DoctorRate"],
|
||||
patientNumber: json["PatientNumber"],
|
||||
projectName: json["ProjectName"],
|
||||
);
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = <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;
|
||||
}
|
||||
Map<String, dynamic> toJson() => {
|
||||
"SetupId": setupId,
|
||||
"ProjectID": projectId,
|
||||
"PatientID": patientId,
|
||||
"AppointmentNo": appointmentNo,
|
||||
"AppointmentDate": appointmentDate,
|
||||
"AppointmentDateN": appointmentDateN,
|
||||
"ClinicID": clinicId,
|
||||
"DoctorID": doctorId,
|
||||
"InvoiceNo": invoiceNo,
|
||||
"Status": status,
|
||||
"ArrivedOn": arrivedOn,
|
||||
"DoctorName": doctorName,
|
||||
"DoctorNameN": doctorNameN,
|
||||
"ClinicName": clinicName,
|
||||
"DecimalDoctorRate": decimalDoctorRate,
|
||||
"DoctorImageURL": doctorImageUrl,
|
||||
"DoctorRate": doctorRate,
|
||||
"PatientNumber": patientNumber,
|
||||
"ProjectName": projectName,
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue