class PatientSickLeavesResponseModel {
  String? setupID;
  int? projectID;
  int? patientID;
  int? patientType;
  int? clinicID;
  int? doctorID;
  int? requestNo;
  String? requestDate;
  int? sickLeaveDays;
  int? appointmentNo;
  int? admissionNo;
  dynamic reportDate;
  num? actualDoctorRate;
  String? appointmentDate;
  String? clinicName;
  num? decimalDoctorRate;
  String? doctorImageURL;
  String? doctorName;
  num? doctorRate;
  num? doctorStarsRate;
  String? doctorTitle;
  int? employeeID;
  String? endDate;
  int? gender;
  String? genderDescription;
  bool? isActiveDoctorProfile;
  bool? isDoctorAllowVedioCall;
  bool? isExecludeDoctor;
  bool? isInOutPatient;
  String? isInOutPatientDescription;
  String? isInOutPatientDescriptionN;
  bool? isLiveCareAppointment;
  dynamic medicalDirectorApprovedStatus;
  num? noOfPatientsRate;
  dynamic patientName;
  String? projectName;
  String? qR;
  List<String>? speciality;
  String? startDate;
  int? status;
  String? strRequestDate;

  PatientSickLeavesResponseModel(
      {this.setupID,
      this.projectID,
      this.patientID,
      this.patientType,
      this.clinicID,
      this.doctorID,
      this.requestNo,
      this.requestDate,
      this.sickLeaveDays,
      this.appointmentNo,
      this.admissionNo,
      this.reportDate,
      this.actualDoctorRate,
      this.appointmentDate,
      this.clinicName,
      this.decimalDoctorRate,
      this.doctorImageURL,
      this.doctorName,
      this.doctorRate,
      this.doctorStarsRate,
      this.doctorTitle,
      this.employeeID,
      this.endDate,
      this.gender,
      this.genderDescription,
      this.isActiveDoctorProfile,
      this.isDoctorAllowVedioCall,
      this.isExecludeDoctor,
      this.isInOutPatient,
      this.isInOutPatientDescription,
      this.isInOutPatientDescriptionN,
      this.isLiveCareAppointment,
      this.medicalDirectorApprovedStatus,
      this.noOfPatientsRate,
      this.patientName,
      this.projectName,
      this.qR,
      this.speciality,
      this.startDate,
      this.status,
      this.strRequestDate});

  PatientSickLeavesResponseModel.fromJson(Map<String, dynamic> json) {
    setupID = json['SetupID'];
    projectID = json['ProjectID'];
    patientID = json['PatientID'];
    patientType = json['PatientType'];
    clinicID = json['ClinicID'];
    doctorID = json['DoctorID'];
    requestNo = json['RequestNo'];
    requestDate = json['RequestDate'];
    sickLeaveDays = json['SickLeaveDays'];
    appointmentNo = json['AppointmentNo'];
    admissionNo = json['AdmissionNo'];
    reportDate = json['ReportDate'];
    actualDoctorRate = json['ActualDoctorRate'];
    appointmentDate = json['AppointmentDate'];
    clinicName = json['ClinicName'];
    decimalDoctorRate = json['DecimalDoctorRate'];
    doctorImageURL = json['DoctorImageURL'];
    doctorName = json['DoctorName'];
    doctorRate = json['DoctorRate'];
    doctorStarsRate = json['DoctorStarsRate'];
    doctorTitle = json['DoctorTitle'];
    employeeID = json['EmployeeID'];
    endDate = json['EndDate'];
    gender = json['Gender'];
    genderDescription = json['GenderDescription'];
    isActiveDoctorProfile = json['IsActiveDoctorProfile'];
    isDoctorAllowVedioCall = json['IsDoctorAllowVedioCall'];
    isExecludeDoctor = json['IsExecludeDoctor'];
    isInOutPatient = json['IsInOutPatient'];
    isInOutPatientDescription = json['IsInOutPatientDescription'];
    isInOutPatientDescriptionN = json['IsInOutPatientDescriptionN'];
    isLiveCareAppointment = json['IsLiveCareAppointment'];
    medicalDirectorApprovedStatus = json['MedicalDirectorApprovedStatus'];
    noOfPatientsRate = json['NoOfPatientsRate'];
    patientName = json['PatientName'];
    projectName = json['ProjectName'];
    qR = json['QR'];
    // speciality = json['Speciality'].cast<String>();
    startDate = json['StartDate'];
    status = json['Status'];
    strRequestDate = json['StrRequestDate'];
  }

  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['PatientType'] = this.patientType;
    data['ClinicID'] = this.clinicID;
    data['DoctorID'] = this.doctorID;
    data['RequestNo'] = this.requestNo;
    data['RequestDate'] = this.requestDate;
    data['SickLeaveDays'] = this.sickLeaveDays;
    data['AppointmentNo'] = this.appointmentNo;
    data['AdmissionNo'] = this.admissionNo;
    data['ReportDate'] = this.reportDate;
    data['ActualDoctorRate'] = this.actualDoctorRate;
    data['AppointmentDate'] = this.appointmentDate;
    data['ClinicName'] = this.clinicName;
    data['DecimalDoctorRate'] = this.decimalDoctorRate;
    data['DoctorImageURL'] = this.doctorImageURL;
    data['DoctorName'] = this.doctorName;
    data['DoctorRate'] = this.doctorRate;
    data['DoctorStarsRate'] = this.doctorStarsRate;
    data['DoctorTitle'] = this.doctorTitle;
    data['EmployeeID'] = this.employeeID;
    data['EndDate'] = this.endDate;
    data['Gender'] = this.gender;
    data['GenderDescription'] = this.genderDescription;
    data['IsActiveDoctorProfile'] = this.isActiveDoctorProfile;
    data['IsDoctorAllowVedioCall'] = this.isDoctorAllowVedioCall;
    data['IsExecludeDoctor'] = this.isExecludeDoctor;
    data['IsInOutPatient'] = this.isInOutPatient;
    data['IsInOutPatientDescription'] = this.isInOutPatientDescription;
    data['IsInOutPatientDescriptionN'] = this.isInOutPatientDescriptionN;
    data['IsLiveCareAppointment'] = this.isLiveCareAppointment;
    data['MedicalDirectorApprovedStatus'] = this.medicalDirectorApprovedStatus;
    data['NoOfPatientsRate'] = this.noOfPatientsRate;
    data['PatientName'] = this.patientName;
    data['ProjectName'] = this.projectName;
    data['QR'] = this.qR;
    data['Speciality'] = this.speciality;
    data['StartDate'] = this.startDate;
    data['Status'] = this.status;
    data['StrRequestDate'] = this.strRequestDate;
    return data;
  }
}

class SickLeaveList {
  String? filterName;
  List<PatientSickLeavesResponseModel>? sickLeavesList;

  SickLeaveList({this.filterName, PatientSickLeavesResponseModel? sickLeaves}) {
    sickLeavesList = [];
    if (sickLeaves != null) {
      sickLeavesList!.add(sickLeaves);
    }
  }
}

