class GetRescheduleLeavesResponse {
  int clinicId;
  var coveringDoctorId;
  String date;
  String dateTimeFrom;
  String dateTimeTo;
  int doctorId;
  int reasonId;
  int requisitionNo;
  int requisitionType;
  int status;

  GetRescheduleLeavesResponse(
      {this.clinicId,
      this.coveringDoctorId,
      this.date,
      this.dateTimeFrom,
      this.dateTimeTo,
      this.doctorId,
      this.reasonId,
      this.requisitionNo,
      this.requisitionType,
      this.status});

  GetRescheduleLeavesResponse.fromJson(Map<String, dynamic> json) {
    clinicId = json['clinicId'];
    coveringDoctorId = json['coveringDoctorId'];
    date = json['date'];
    dateTimeFrom = json['dateTimeFrom'];
    dateTimeTo = json['dateTimeTo'];
    doctorId = json['doctorId'];
    reasonId = json['reasonId'];
    requisitionNo = json['requisitionNo'];
    requisitionType = json['requisitionType'];
    status = json['status'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['clinicId'] = this.clinicId;
    data['coveringDoctorId'] = this.coveringDoctorId;
    data['date'] = this.date;
    data['dateTimeFrom'] = this.dateTimeFrom;
    data['dateTimeTo'] = this.dateTimeTo;
    data['doctorId'] = this.doctorId;
    data['reasonId'] = this.reasonId;
    data['requisitionNo'] = this.requisitionNo;
    data['requisitionType'] = this.requisitionType;
    data['status'] = this.status;
    return data;
  }
}
