class AppointmentParkingQRResponseModel {
  String? admissionDate;
  int? admissionNo;
  String? appointmentDate;
  int? appointmentNo;
  int? createdBy;
  String? createdOn;
  String? gUID;
  String? invoiceDate;
  int? invoiceNo;
  bool? isActive;
  bool? isOutInPatient;
  int? isPatient;
  bool? isUsed;
  int? patientID;
  int? projectID;
  dynamic ticketBase64;
  int? ticketID;
  String? ticketURL;

  AppointmentParkingQRResponseModel(
      {this.admissionDate,
      this.admissionNo,
      this.appointmentDate,
      this.appointmentNo,
      this.createdBy,
      this.createdOn,
      this.gUID,
      this.invoiceDate,
      this.invoiceNo,
      this.isActive,
      this.isOutInPatient,
      this.isPatient,
      this.isUsed,
      this.patientID,
      this.projectID,
      this.ticketBase64,
      this.ticketID,
      this.ticketURL});

  AppointmentParkingQRResponseModel.fromJson(Map<String, dynamic> json) {
    admissionDate = json['AdmissionDate'];
    admissionNo = json['AdmissionNo'];
    appointmentDate = json['AppointmentDate'];
    appointmentNo = json['AppointmentNo'];
    createdBy = json['CreatedBy'];
    createdOn = json['CreatedOn'];
    gUID = json['GUID'];
    invoiceDate = json['InvoiceDate'];
    invoiceNo = json['InvoiceNo'];
    isActive = json['IsActive'];
    isOutInPatient = json['IsOutInPatient'];
    isPatient = json['IsPatient'];
    isUsed = json['IsUsed'];
    patientID = json['PatientID'];
    projectID = json['ProjectID'];
    // ticketBase64 = json['TicketBase64'].cast<int>();
    ticketBase64 = json['TicketBase64String'];
    ticketID = json['TicketID'];
    ticketURL = json['TicketURL'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['AdmissionDate'] = this.admissionDate;
    data['AdmissionNo'] = this.admissionNo;
    data['AppointmentDate'] = this.appointmentDate;
    data['AppointmentNo'] = this.appointmentNo;
    data['CreatedBy'] = this.createdBy;
    data['CreatedOn'] = this.createdOn;
    data['GUID'] = this.gUID;
    data['InvoiceDate'] = this.invoiceDate;
    data['InvoiceNo'] = this.invoiceNo;
    data['IsActive'] = this.isActive;
    data['IsOutInPatient'] = this.isOutInPatient;
    data['IsPatient'] = this.isPatient;
    data['IsUsed'] = this.isUsed;
    data['PatientID'] = this.patientID;
    data['ProjectID'] = this.projectID;
    data['TicketBase64'] = this.ticketBase64;
    data['TicketID'] = this.ticketID;
    data['TicketURL'] = this.ticketURL;
    return data;
  }
}
