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