class PrescriptionDetailResponseModel {
  String? address;
  num? appointmentNo;
  String? clinic;
  dynamic companyName;
  num? days;
  String? doctorName;
  num? doseDailyQuantity;
  String? frequency;
  num? frequencyNumber;
  dynamic image;
  dynamic imageExtension;
  String? imageSRCUrl;
  dynamic imageString;
  String? imageThumbUrl;
  String? isCovered;
  String? itemDescription;
  num? itemID;
  String? orderDate;
  num? patientID;
  String? patientName;
  String? phoneOffice1;
  dynamic prescriptionQR;
  num? prescriptionTimes;
  dynamic productImage;
  dynamic productImageBase64;
  String? productImageString;
  num? projectID;
  String? projectName;
  String? remarks;
  String? route;
  String? sKU;
  num? scaleOffset;
  String? startDate;
  bool? hasReminder;

  PrescriptionDetailResponseModel(
      {this.address,
      this.appointmentNo,
      this.clinic,
      this.companyName,
      this.days,
      this.doctorName,
      this.doseDailyQuantity,
      this.frequency,
      this.frequencyNumber,
      this.image,
      this.imageExtension,
      this.imageSRCUrl,
      this.imageString,
      this.imageThumbUrl,
      this.isCovered,
      this.itemDescription,
      this.itemID,
      this.orderDate,
      this.patientID,
      this.patientName,
      this.phoneOffice1,
      this.prescriptionQR,
      this.prescriptionTimes,
      this.productImage,
      this.productImageBase64,
      this.productImageString,
      this.projectID,
      this.projectName,
      this.remarks,
      this.route,
      this.sKU,
      this.scaleOffset,
      this.startDate,
      this.hasReminder = false});

  PrescriptionDetailResponseModel.fromJson(Map<String, dynamic> json) {
    address = json['Address'];
    appointmentNo = json['AppointmentNo'];
    clinic = json['Clinic'];
    companyName = json['CompanyName'];
    days = json['Days'];
    doctorName = json['DoctorName'];
    doseDailyQuantity = json['DoseDailyQuantity'];
    frequency = json['Frequency'];
    frequencyNumber = json['FrequencyNumber'];
    image = json['Image'];
    imageExtension = json['ImageExtension'];
    imageSRCUrl = json['ImageSRCUrl'];
    imageString = json['ImageString'];
    imageThumbUrl = json['ImageThumbUrl'];
    isCovered = json['IsCovered'];
    itemDescription = json['ItemDescription'];
    itemID = json['ItemID'];
    orderDate = json['OrderDate'];
    patientID = json['PatientID'];
    patientName = json['PatientName'];
    phoneOffice1 = json['PhoneOffice1'];
    prescriptionQR = json['PrescriptionQR'];
    prescriptionTimes = json['PrescriptionTimes'];
    productImage = json['ProductImage'];
    productImageBase64 = json['ProductImageBase64'];
    productImageString = json['ProductImageString'];
    projectID = json['ProjectID'];
    projectName = json['ProjectName'];
    remarks = json['Remarks'];
    route = json['Route'];
    sKU = json['SKU'];
    scaleOffset = json['ScaleOffset'];
    startDate = json['StartDate'];
    hasReminder = false;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['Address'] = address;
    data['AppointmentNo'] = appointmentNo;
    data['Clinic'] = clinic;
    data['CompanyName'] = companyName;
    data['Days'] = days;
    data['DoctorName'] = doctorName;
    data['DoseDailyQuantity'] = doseDailyQuantity;
    data['Frequency'] = frequency;
    data['FrequencyNumber'] = frequencyNumber;
    data['Image'] = image;
    data['ImageExtension'] = imageExtension;
    data['ImageSRCUrl'] = imageSRCUrl;
    data['ImageString'] = imageString;
    data['ImageThumbUrl'] = imageThumbUrl;
    data['IsCovered'] = isCovered;
    data['ItemDescription'] = itemDescription;
    data['ItemID'] = itemID;
    data['OrderDate'] = orderDate;
    data['PatientID'] = patientID;
    data['PatientName'] = patientName;
    data['PhoneOffice1'] = phoneOffice1;
    data['PrescriptionQR'] = prescriptionQR;
    data['PrescriptionTimes'] = prescriptionTimes;
    data['ProductImage'] = productImage;
    data['ProductImageBase64'] = productImageBase64;
    data['ProductImageString'] = productImageString;
    data['ProjectID'] = projectID;
    data['ProjectName'] = projectName;
    data['Remarks'] = remarks;
    data['Route'] = route;
    data['SKU'] = sKU;
    data['ScaleOffset'] = scaleOffset;
    data['StartDate'] = startDate;
    return data;
  }
}
