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.
RSGDoctorApp/lib/models/patient/MedicalReport/MeidcalReportModel.dart

97 lines
2.9 KiB
Dart

class MedicalReportModel {
String reportData;
String setupID;
int projectID;
int patientID;
String invoiceNo;
int status;
String verifiedOn;
String verifiedBy;
String editedOn;
int editedBy;
int lineItemNo;
String createdOn;
int templateID;
int doctorID;
int doctorGender;
String doctorGenderDescription;
String doctorGenderDescriptionN;
String doctorImageURL;
String doctorName;
String doctorNameN;
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.createdOn,
this.templateID,
this.doctorID,
this.doctorGender,
this.doctorGenderDescription,
this.doctorGenderDescriptionN,
this.doctorImageURL,
this.doctorName,
this.doctorNameN,
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'];
createdOn = json['CreatedOn'];
templateID = json['TemplateID'];
doctorID = json['DoctorID'];
doctorGender = json['DoctorGender'];
doctorGenderDescription = json['DoctorGenderDescription'];
doctorGenderDescriptionN = json['DoctorGenderDescriptionN'];
doctorImageURL = json['DoctorImageURL'];
doctorName = json['DoctorName'];
doctorNameN = json['DoctorNameN'];
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['CreatedOn'] = this.createdOn;
data['TemplateID'] = this.templateID;
data['DoctorID'] = this.doctorID;
data['DoctorGender'] = this.doctorGender;
data['DoctorGenderDescription'] = this.doctorGenderDescription;
data['DoctorGenderDescriptionN'] = this.doctorGenderDescriptionN;
data['DoctorImageURL'] = this.doctorImageURL;
data['DoctorName'] = this.doctorName;
data['DoctorNameN'] = this.doctorNameN;
data['ReportDataHtml'] = this.reportDataHtml;
return data;
}
}