|
|
|
|
@ -15,8 +15,7 @@ class PatientPackageComponent {
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
|
|
|
if (this.patientPackageComponents != null) {
|
|
|
|
|
data['PatientPackageComponents'] =
|
|
|
|
|
this.patientPackageComponents!.map((v) => v.toJson()).toList();
|
|
|
|
|
data['PatientPackageComponents'] = this.patientPackageComponents!.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
@ -30,15 +29,9 @@ class PatientPackageComponents {
|
|
|
|
|
int? projectID;
|
|
|
|
|
int? sequence;
|
|
|
|
|
String? setupID;
|
|
|
|
|
num? invoiceNo_VP;
|
|
|
|
|
|
|
|
|
|
PatientPackageComponents(
|
|
|
|
|
{this.invoiceNo,
|
|
|
|
|
this.lineItemNo,
|
|
|
|
|
this.procedureID,
|
|
|
|
|
this.procedureName,
|
|
|
|
|
this.projectID,
|
|
|
|
|
this.sequence,
|
|
|
|
|
this.setupID});
|
|
|
|
|
PatientPackageComponents({this.invoiceNo, this.lineItemNo, this.procedureID, this.procedureName, this.projectID, this.sequence, this.setupID, this.invoiceNo_VP});
|
|
|
|
|
|
|
|
|
|
PatientPackageComponents.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
invoiceNo = json['InvoiceNo'];
|
|
|
|
|
@ -48,6 +41,7 @@ class PatientPackageComponents {
|
|
|
|
|
projectID = json['ProjectID'];
|
|
|
|
|
sequence = json['Sequence'];
|
|
|
|
|
setupID = json['SetupID'];
|
|
|
|
|
invoiceNo_VP = json['InvoiceNo_VP'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
@ -59,6 +53,7 @@ class PatientPackageComponents {
|
|
|
|
|
data['ProjectID'] = this.projectID;
|
|
|
|
|
data['Sequence'] = this.sequence;
|
|
|
|
|
data['SetupID'] = this.setupID;
|
|
|
|
|
data['InvoiceNo_VP'] = this.invoiceNo_VP;
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|