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.
80 lines
2.2 KiB
Dart
80 lines
2.2 KiB
Dart
/*
|
|
*@author: Elham Rababah
|
|
*@Date:6/5/2020
|
|
*@param:
|
|
*@return:RadiologyResModel
|
|
*@desc: RadiologyResModel class
|
|
*/
|
|
class RadiologyResModel {
|
|
String? setupID;
|
|
int? projectID;
|
|
int? patientID;
|
|
int? invoiceLineItemNo;
|
|
int? invoiceNo;
|
|
String? reportData;
|
|
String? imageURL;
|
|
int? clinicId;
|
|
int? doctorId;
|
|
String? reportDate;
|
|
String? clinicName;
|
|
String? doctorImageURL;
|
|
String? doctorName;
|
|
String? projectName;
|
|
dynamic statusDescription;
|
|
|
|
RadiologyResModel(
|
|
{this.setupID,
|
|
this.projectID,
|
|
this.patientID,
|
|
this.invoiceLineItemNo,
|
|
this.invoiceNo,
|
|
this.reportData,
|
|
this.imageURL,
|
|
this.clinicId,
|
|
this.doctorId,
|
|
this.reportDate,
|
|
this.clinicName,
|
|
this.doctorImageURL,
|
|
this.doctorName,
|
|
this.projectName,
|
|
this.statusDescription});
|
|
|
|
RadiologyResModel.fromJson(Map<String?, dynamic> json) {
|
|
setupID = json['SetupID'];
|
|
projectID = json['ProjectID'];
|
|
patientID = json['PatientID'];
|
|
invoiceLineItemNo = json['InvoiceLineItemNo'];
|
|
invoiceNo = json['InvoiceNo'];
|
|
reportData = json['ReportData'];
|
|
imageURL = json['ImageURL'];
|
|
clinicId = json['ClinicId'];
|
|
doctorId = json['DoctorId'];
|
|
reportDate = json['ReportDate'];
|
|
clinicName = json['ClinicName'];
|
|
doctorImageURL = json['DoctorImageURL'];
|
|
doctorName = json['DoctorName'];
|
|
projectName = json['ProjectName'];
|
|
statusDescription = json['StatusDescription'];
|
|
}
|
|
|
|
Map<String?, dynamic> toJson() {
|
|
final Map<String?, dynamic> data = new Map<String?, dynamic>();
|
|
data['SetupID'] = this.setupID;
|
|
data['ProjectID'] = this.projectID;
|
|
data['PatientID'] = this.patientID;
|
|
data['InvoiceLineItemNo'] = this.invoiceLineItemNo;
|
|
data['InvoiceNo'] = this.invoiceNo;
|
|
data['ReportData'] = this.reportData;
|
|
data['ImageURL'] = this.imageURL;
|
|
data['ClinicId'] = this.clinicId;
|
|
data['DoctorId'] = this.doctorId;
|
|
data['ReportDate'] = this.reportDate;
|
|
data['ClinicName'] = this.clinicName;
|
|
data['DoctorImageURL'] = this.doctorImageURL;
|
|
data['DoctorName'] = this.doctorName;
|
|
data['ProjectName'] = this.projectName;
|
|
data['StatusDescription'] = this.statusDescription;
|
|
return data;
|
|
}
|
|
}
|