class AppoitmentAllHistoryResultList {
  String setupID;
  int projectID;
  int appointmentNo;
  String appointmentDate;
  dynamic appointmentDateN;
  int appointmentType;
  String bookDate;
  int patientType;
  int patientID;
  int clinicID;
  int doctorID;
  String endDate;
  String startTime;
  String endTime;
  int status;
  int visitType;
  int visitFor;
  int patientStatusType;
  int companyID;
  int bookedBy;
  String bookedOn;
  dynamic confirmedBy;
  dynamic confirmedOn;
  dynamic arrivalChangedBy;
  dynamic arrivedOn;
  dynamic editedBy;
  dynamic editedOn;
  dynamic doctorName;
  dynamic doctorNameN;
  String statusDesc;
  dynamic statusDescN;
  bool vitalStatus;
  dynamic vitalSignAppointmentNo;
  int episodeID;
  int actualDoctorRate;
  String clinicName;
  bool complainExists;
  String doctorImageURL;
  String doctorNameObj;
  int doctorRate;
  List<String> doctorSpeciality;
  String doctorTitle;
  int gender;
  String genderDescription;
  bool iSAllowOnlineCheckedIN;
  bool isActiveDoctor;
  bool isActiveDoctorProfile;
  bool isDoctorAllowVedioCall;
  bool isExecludeDoctor;
  int isFollowup;
  bool isLiveCareAppointment;
  bool isMedicalReportRequested;
  bool isOnlineCheckedIN;
  String latitude;
  dynamic listHISGetContactLensPerscription;
  dynamic listHISGetGlassPerscription;
  String longitude;
  int nextAction;
  int noOfPatientsRate;
  int originalClinicID;
  int originalProjectID;
  String projectName;
  String qR;
  int remaniningHoursTocanPay;
  bool sMSButtonVisable;

  AppoitmentAllHistoryResultList(
      {this.setupID,
        this.projectID,
        this.appointmentNo,
        this.appointmentDate,
        this.appointmentDateN,
        this.appointmentType,
        this.bookDate,
        this.patientType,
        this.patientID,
        this.clinicID,
        this.doctorID,
        this.endDate,
        this.startTime,
        this.endTime,
        this.status,
        this.visitType,
        this.visitFor,
        this.patientStatusType,
        this.companyID,
        this.bookedBy,
        this.bookedOn,
        this.confirmedBy,
        this.confirmedOn,
        this.arrivalChangedBy,
        this.arrivedOn,
        this.editedBy,
        this.editedOn,
        this.doctorName,
        this.doctorNameN,
        this.statusDesc,
        this.statusDescN,
        this.vitalStatus,
        this.vitalSignAppointmentNo,
        this.episodeID,
        this.actualDoctorRate,
        this.clinicName,
        this.complainExists,
        this.doctorImageURL,
        this.doctorNameObj,
        this.doctorRate,
        this.doctorSpeciality,
        this.doctorTitle,
        this.gender,
        this.genderDescription,
        this.iSAllowOnlineCheckedIN,
        this.isActiveDoctor,
        this.isActiveDoctorProfile,
        this.isDoctorAllowVedioCall,
        this.isExecludeDoctor,
        this.isFollowup,
        this.isLiveCareAppointment,
        this.isMedicalReportRequested,
        this.isOnlineCheckedIN,
        this.latitude,
        this.listHISGetContactLensPerscription,
        this.listHISGetGlassPerscription,
        this.longitude,
        this.nextAction,
        this.noOfPatientsRate,
        this.originalClinicID,
        this.originalProjectID,
        this.projectName,
        this.qR,
        this.remaniningHoursTocanPay,
        this.sMSButtonVisable});

  AppoitmentAllHistoryResultList.fromJson(Map<String, dynamic> json) {
    setupID = json['SetupID'];
    projectID = json['ProjectID'];
    appointmentNo = json['AppointmentNo'];
    appointmentDate = json['AppointmentDate'];
    appointmentDateN = json['AppointmentDateN'];
    appointmentType = json['AppointmentType'];
    bookDate = json['BookDate'];
    patientType = json['PatientType'];
    patientID = json['PatientID'];
    clinicID = json['ClinicID'];
    doctorID = json['DoctorID'];
    endDate = json['EndDate'];
    startTime = json['StartTime'];
    endTime = json['EndTime'];
    status = json['Status'];
    visitType = json['VisitType'];
    visitFor = json['VisitFor'];
    patientStatusType = json['PatientStatusType'];
    companyID = json['CompanyID'];
    bookedBy = json['BookedBy'];
    bookedOn = json['BookedOn'];
    confirmedBy = json['ConfirmedBy'];
    confirmedOn = json['ConfirmedOn'];
    arrivalChangedBy = json['ArrivalChangedBy'];
    arrivedOn = json['ArrivedOn'];
    editedBy = json['EditedBy'];
    editedOn = json['EditedOn'];
    doctorName = json['DoctorName'];
    doctorNameN = json['DoctorNameN'];
    statusDesc = json['StatusDesc'];
    statusDescN = json['StatusDescN'];
    vitalStatus = json['VitalStatus'];
    vitalSignAppointmentNo = json['VitalSignAppointmentNo'];
    episodeID = json['EpisodeID'];
    actualDoctorRate = json['ActualDoctorRate'];
    clinicName = json['ClinicName'];
    complainExists = json['ComplainExists'];
    doctorImageURL = json['DoctorImageURL'];
    doctorNameObj = json['DoctorNameObj'];
    doctorRate = json['DoctorRate'];
    doctorSpeciality = json['DoctorSpeciality'] != null ?json['DoctorSpeciality'].cast<String>() : ["null"];
    doctorTitle = json['DoctorTitle'];
    gender = json['Gender'];
    genderDescription = json['GenderDescription'];
    iSAllowOnlineCheckedIN = json['ISAllowOnlineCheckedIN'];
    isActiveDoctor = json['IsActiveDoctor'];
    isActiveDoctorProfile = json['IsActiveDoctorProfile'];
    isDoctorAllowVedioCall = json['IsDoctorAllowVedioCall'];
    isExecludeDoctor = json['IsExecludeDoctor'];
    isFollowup = json['IsFollowup'];
    isLiveCareAppointment = json['IsLiveCareAppointment'];
    isMedicalReportRequested = json['IsMedicalReportRequested'];
    isOnlineCheckedIN = json['IsOnlineCheckedIN'];
    latitude = json['Latitude'];
    listHISGetContactLensPerscription =
    json['List_HIS_GetContactLensPerscription'];
    listHISGetGlassPerscription = json['List_HIS_GetGlassPerscription'];
    longitude = json['Longitude'];
    nextAction = json['NextAction'];
    noOfPatientsRate = json['NoOfPatientsRate'];
    originalClinicID = json['OriginalClinicID'];
    originalProjectID = json['OriginalProjectID'];
    projectName = json['ProjectName'];
    qR = json['QR'];
    remaniningHoursTocanPay = json['RemaniningHoursTocanPay'];
    sMSButtonVisable = json['SMSButtonVisable'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['SetupID'] = this.setupID;
    data['ProjectID'] = this.projectID;
    data['AppointmentNo'] = this.appointmentNo;
    data['AppointmentDate'] = this.appointmentDate;
    data['AppointmentDateN'] = this.appointmentDateN;
    data['AppointmentType'] = this.appointmentType;
    data['BookDate'] = this.bookDate;
    data['PatientType'] = this.patientType;
    data['PatientID'] = this.patientID;
    data['ClinicID'] = this.clinicID;
    data['DoctorID'] = this.doctorID;
    data['EndDate'] = this.endDate;
    data['StartTime'] = this.startTime;
    data['EndTime'] = this.endTime;
    data['Status'] = this.status;
    data['VisitType'] = this.visitType;
    data['VisitFor'] = this.visitFor;
    data['PatientStatusType'] = this.patientStatusType;
    data['CompanyID'] = this.companyID;
    data['BookedBy'] = this.bookedBy;
    data['BookedOn'] = this.bookedOn;
    data['ConfirmedBy'] = this.confirmedBy;
    data['ConfirmedOn'] = this.confirmedOn;
    data['ArrivalChangedBy'] = this.arrivalChangedBy;
    data['ArrivedOn'] = this.arrivedOn;
    data['EditedBy'] = this.editedBy;
    data['EditedOn'] = this.editedOn;
    data['DoctorName'] = this.doctorName;
    data['DoctorNameN'] = this.doctorNameN;
    data['StatusDesc'] = this.statusDesc;
    data['StatusDescN'] = this.statusDescN;
    data['VitalStatus'] = this.vitalStatus;
    data['VitalSignAppointmentNo'] = this.vitalSignAppointmentNo;
    data['EpisodeID'] = this.episodeID;
    data['ActualDoctorRate'] = this.actualDoctorRate;
    data['ClinicName'] = this.clinicName;
    data['ComplainExists'] = this.complainExists;
    data['DoctorImageURL'] = this.doctorImageURL;
    data['DoctorNameObj'] = this.doctorNameObj;
    data['DoctorRate'] = this.doctorRate;
    data['DoctorSpeciality'] = this.doctorSpeciality;
    data['DoctorTitle'] = this.doctorTitle;
    data['Gender'] = this.gender;
    data['GenderDescription'] = this.genderDescription;
    data['ISAllowOnlineCheckedIN'] = this.iSAllowOnlineCheckedIN;
    data['IsActiveDoctor'] = this.isActiveDoctor;
    data['IsActiveDoctorProfile'] = this.isActiveDoctorProfile;
    data['IsDoctorAllowVedioCall'] = this.isDoctorAllowVedioCall;
    data['IsExecludeDoctor'] = this.isExecludeDoctor;
    data['IsFollowup'] = this.isFollowup;
    data['IsLiveCareAppointment'] = this.isLiveCareAppointment;
    data['IsMedicalReportRequested'] = this.isMedicalReportRequested;
    data['IsOnlineCheckedIN'] = this.isOnlineCheckedIN;
    data['Latitude'] = this.latitude;
    data['List_HIS_GetContactLensPerscription'] =
        this.listHISGetContactLensPerscription;
    data['List_HIS_GetGlassPerscription'] = this.listHISGetGlassPerscription;
    data['Longitude'] = this.longitude;
    data['NextAction'] = this.nextAction;
    data['NoOfPatientsRate'] = this.noOfPatientsRate;
    data['OriginalClinicID'] = this.originalClinicID;
    data['OriginalProjectID'] = this.originalProjectID;
    data['ProjectName'] = this.projectName;
    data['QR'] = this.qR;
    data['RemaniningHoursTocanPay'] = this.remaniningHoursTocanPay;
    data['SMSButtonVisable'] = this.sMSButtonVisable;
    return data;
  }
}

class PatientAppointmentList {
  String filterName = "";
  List<AppoitmentAllHistoryResultList> patientDoctorAppointmentList = List();

  PatientAppointmentList(
      {this.filterName, AppoitmentAllHistoryResultList patientDoctorAppointment}) {
    patientDoctorAppointmentList.add(patientDoctorAppointment);
  }
}
