Compare commits
4 Commits
dev_v3.13.
...
dev_v_3.13
| Author | SHA1 | Date |
|---|---|---|
|
|
a39d2840e0 | 1 year ago |
|
|
66ec7b5ca4 | 1 year ago |
|
|
554548bc9a | 1 year ago |
|
|
9501c2ea9a | 1 year ago |
@ -0,0 +1,64 @@
|
||||
class PatientPackageComponent {
|
||||
List<PatientPackageComponents>? patientPackageComponents;
|
||||
|
||||
PatientPackageComponent({this.patientPackageComponents});
|
||||
|
||||
PatientPackageComponent.fromJson(Map<String, dynamic> json) {
|
||||
if (json['PatientPackageComponents'] != null) {
|
||||
patientPackageComponents = <PatientPackageComponents>[];
|
||||
json['PatientPackageComponents'].forEach((v) {
|
||||
patientPackageComponents!.add(new PatientPackageComponents.fromJson(v));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
class PatientPackageComponents {
|
||||
int? invoiceNo;
|
||||
int? lineItemNo;
|
||||
String? procedureID;
|
||||
String? procedureName;
|
||||
int? projectID;
|
||||
int? sequence;
|
||||
String? setupID;
|
||||
|
||||
PatientPackageComponents(
|
||||
{this.invoiceNo,
|
||||
this.lineItemNo,
|
||||
this.procedureID,
|
||||
this.procedureName,
|
||||
this.projectID,
|
||||
this.sequence,
|
||||
this.setupID});
|
||||
|
||||
PatientPackageComponents.fromJson(Map<String, dynamic> json) {
|
||||
invoiceNo = json['InvoiceNo'];
|
||||
lineItemNo = json['LineItemNo'];
|
||||
procedureID = json['ProcedureID'];
|
||||
procedureName = json['ProcedureName'];
|
||||
projectID = json['ProjectID'];
|
||||
sequence = json['Sequence'];
|
||||
setupID = json['SetupID'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['InvoiceNo'] = this.invoiceNo;
|
||||
data['LineItemNo'] = this.lineItemNo;
|
||||
data['ProcedureID'] = this.procedureID;
|
||||
data['ProcedureName'] = this.procedureName;
|
||||
data['ProjectID'] = this.projectID;
|
||||
data['Sequence'] = this.sequence;
|
||||
data['SetupID'] = this.setupID;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue