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.
61 lines
1.6 KiB
Dart
61 lines
1.6 KiB
Dart
class MedicalReportModel {
|
|
String reportData;
|
|
String setupID;
|
|
int projectID;
|
|
int patientID;
|
|
String invoiceNo;
|
|
int status;
|
|
String verifiedOn;
|
|
int verifiedBy;
|
|
String editedOn;
|
|
int editedBy;
|
|
int lineItemNo;
|
|
String reportDataHtml;
|
|
|
|
MedicalReportModel(
|
|
{this.reportData,
|
|
this.setupID,
|
|
this.projectID,
|
|
this.patientID,
|
|
this.invoiceNo,
|
|
this.status,
|
|
this.verifiedOn,
|
|
this.verifiedBy,
|
|
this.editedOn,
|
|
this.editedBy,
|
|
this.lineItemNo,
|
|
this.reportDataHtml});
|
|
|
|
MedicalReportModel.fromJson(Map<String, dynamic> json) {
|
|
reportData = json['ReportData'];
|
|
setupID = json['SetupID'];
|
|
projectID = json['ProjectID'];
|
|
patientID = json['PatientID'];
|
|
invoiceNo = json['InvoiceNo'];
|
|
status = json['Status'];
|
|
verifiedOn = json['VerifiedOn'];
|
|
verifiedBy = json['VerifiedBy'];
|
|
editedOn = json['EditedOn'];
|
|
editedBy = json['EditedBy'];
|
|
lineItemNo = json['LineItemNo'];
|
|
reportDataHtml = json['ReportDataHtml'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['ReportData'] = this.reportData;
|
|
data['SetupID'] = this.setupID;
|
|
data['ProjectID'] = this.projectID;
|
|
data['PatientID'] = this.patientID;
|
|
data['InvoiceNo'] = this.invoiceNo;
|
|
data['Status'] = this.status;
|
|
data['VerifiedOn'] = this.verifiedOn;
|
|
data['VerifiedBy'] = this.verifiedBy;
|
|
data['EditedOn'] = this.editedOn;
|
|
data['EditedBy'] = this.editedBy;
|
|
data['LineItemNo'] = this.lineItemNo;
|
|
data['ReportDataHtml'] = this.reportDataHtml;
|
|
return data;
|
|
}
|
|
}
|