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.
121 lines
3.3 KiB
Dart
121 lines
3.3 KiB
Dart
class COCItem {
|
|
Null appointment;
|
|
String appointmentClinicName;
|
|
String appointmentDate;
|
|
String appointmentProjectName;
|
|
String cOCID;
|
|
String cOCTitle;
|
|
String channel;
|
|
dynamic clinic;
|
|
String clinicID;
|
|
String date;
|
|
dynamic detail;
|
|
dynamic doctor;
|
|
String doctorID;
|
|
String formType;
|
|
int formTypeID;
|
|
dynamic identificationNo;
|
|
int itemID;
|
|
dynamic mobileNo;
|
|
dynamic naturename;
|
|
dynamic patientID;
|
|
dynamic patientName;
|
|
dynamic project;
|
|
dynamic projectID;
|
|
String solution;
|
|
String status;
|
|
String statusAr;
|
|
dynamic statusEn;
|
|
|
|
COCItem(
|
|
{this.appointment,
|
|
this.appointmentClinicName,
|
|
this.appointmentDate,
|
|
this.appointmentProjectName,
|
|
this.cOCID,
|
|
this.cOCTitle,
|
|
this.channel,
|
|
this.clinic,
|
|
this.clinicID,
|
|
this.date,
|
|
this.detail,
|
|
this.doctor,
|
|
this.doctorID,
|
|
this.formType,
|
|
this.formTypeID,
|
|
this.identificationNo,
|
|
this.itemID,
|
|
this.mobileNo,
|
|
this.naturename,
|
|
this.patientID,
|
|
this.patientName,
|
|
this.project,
|
|
this.projectID,
|
|
this.solution,
|
|
this.status,
|
|
this.statusAr,
|
|
this.statusEn});
|
|
|
|
COCItem.fromJson(Map<String, dynamic> json) {
|
|
appointment = json['Appointment'];
|
|
appointmentClinicName = json['AppointmentClinicName'];
|
|
appointmentDate = json['AppointmentDate'];
|
|
appointmentProjectName = json['AppointmentProjectName'];
|
|
cOCID = json['COCID'];
|
|
cOCTitle = json['COCTitle'];
|
|
channel = json['Channel'];
|
|
clinic = json['Clinic'];
|
|
clinicID = json['ClinicID'];
|
|
date = json['Date'];
|
|
detail = json['Detail'];
|
|
doctor = json['Doctor'];
|
|
doctorID = json['DoctorID'];
|
|
formType = json['FormType'];
|
|
formTypeID = json['FormTypeID'];
|
|
identificationNo = json['IdentificationNo'];
|
|
itemID = json['ItemID'];
|
|
mobileNo = json['MobileNo'];
|
|
naturename = json['Naturename'];
|
|
patientID = json['PatientID'];
|
|
patientName = json['PatientName'];
|
|
project = json['Project'];
|
|
projectID = json['ProjectID'];
|
|
solution = json['Solution'];
|
|
status = json['Status'];
|
|
statusAr = json['StatusAr'];
|
|
statusEn = json['StatusEn'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['Appointment'] = this.appointment;
|
|
data['AppointmentClinicName'] = this.appointmentClinicName;
|
|
data['AppointmentDate'] = this.appointmentDate;
|
|
data['AppointmentProjectName'] = this.appointmentProjectName;
|
|
data['COCID'] = this.cOCID;
|
|
data['COCTitle'] = this.cOCTitle;
|
|
data['Channel'] = this.channel;
|
|
data['Clinic'] = this.clinic;
|
|
data['ClinicID'] = this.clinicID;
|
|
data['Date'] = this.date;
|
|
data['Detail'] = this.detail;
|
|
data['Doctor'] = this.doctor;
|
|
data['DoctorID'] = this.doctorID;
|
|
data['FormType'] = this.formType;
|
|
data['FormTypeID'] = this.formTypeID;
|
|
data['IdentificationNo'] = this.identificationNo;
|
|
data['ItemID'] = this.itemID;
|
|
data['MobileNo'] = this.mobileNo;
|
|
data['Naturename'] = this.naturename;
|
|
data['PatientID'] = this.patientID;
|
|
data['PatientName'] = this.patientName;
|
|
data['Project'] = this.project;
|
|
data['ProjectID'] = this.projectID;
|
|
data['Solution'] = this.solution;
|
|
data['Status'] = this.status;
|
|
data['StatusAr'] = this.statusAr;
|
|
data['StatusEn'] = this.statusEn;
|
|
return data;
|
|
}
|
|
}
|