class GetReservationsResponseModel {
  String? setupID;
  int? projectID;
  int? oTReservationID;
  String? oTReservationDate;
  String? oTReservationDateN;
  int? oTID;
  int? admissionRequestNo;
  int? admissionNo;
  int? primaryDoctorID;
  int? patientType;
  int? patientID;
  int? patientStatusType;
  int? clinicID;
  int? doctorID;
  String? operationDate;
  int? operationType;
  String? endDate;
  String? timeStart;
  String? timeEnd;
  dynamic remarks;
  int? status;
  int? createdBy;
  String? createdOn;
  int? editedBy;
  String? editedOn;
  String? patientName;
  String? patientNameN;
  String? gender;
  String? dateofBirth;
  String? mobileNumber;
  String? emailAddress;
  String? doctorName;
  String? doctorNameN;
  String? clinicDescription;
  String? clinicDescriptionN;


  GetReservationsResponseModel(
      {this.setupID,
      this.projectID,
      this.oTReservationID,
      this.oTReservationDate,
      this.oTReservationDateN,
      this.oTID,
      this.admissionRequestNo,
      this.admissionNo,
      this.primaryDoctorID,
      this.patientType,
      this.patientID,
      this.patientStatusType,
      this.clinicID,
      this.doctorID,
      this.operationDate,
      this.operationType,
      this.endDate,
      this.timeStart,
      this.timeEnd,
      this.remarks,
      this.status,
      this.createdBy,
      this.createdOn,
      this.editedBy,
      this.editedOn,
      this.patientName,
      this.patientNameN,
      this.gender,
      this.dateofBirth,
      this.mobileNumber,
      this.emailAddress,
      this.doctorName,
      this.doctorNameN,
      this.clinicDescription,
      this.clinicDescriptionN});

  GetReservationsResponseModel.fromJson(Map<String, dynamic> json) {
    setupID = json['SetupID'];
    projectID = json['ProjectID'];
    oTReservationID = json['OTReservationID'];
    oTReservationDate = json['OTReservationDate'];
    oTReservationDateN = json['OTReservationDateN'];
    oTID = json['OTID'];
    admissionRequestNo = json['AdmissionRequestNo'];
    admissionNo = json['AdmissionNo'];
    primaryDoctorID = json['PrimaryDoctorID'];
    patientType = json['PatientType'];
    patientID = json['PatientID'];
    patientStatusType = json['PatientStatusType'];
    clinicID = json['ClinicID'];
    doctorID = json['DoctorID'];
    operationDate = json['OperationDate'];
    operationType = json['OperationType'];
    endDate = json['EndDate'];
    timeStart = json['TimeStart'];
    timeEnd = json['TimeEnd'];
    remarks = json['Remarks'];
    status = json['Status'];
    createdBy = json['CreatedBy'];
    createdOn = json['CreatedOn'];
    editedBy = json['EditedBy'];
    editedOn = json['EditedOn'];
    patientName = json['PatientName'];
    patientNameN = json['PatientNameN'];
    gender = json['Gender']?.toString()??"";
    dateofBirth = json['DateofBirth'];
    mobileNumber = json['MobileNumber'];
    emailAddress = json['EmailAddress'];
    doctorName = json['DoctorName'];
    doctorNameN = json['DoctorNameN'];
    clinicDescription = json['ClinicDescription'];
    clinicDescriptionN = json['ClinicDescriptionN'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['SetupID'] = this.setupID;
    data['ProjectID'] = this.projectID;
    data['OTReservationID'] = this.oTReservationID;
    data['OTReservationDate'] = this.oTReservationDate;
    data['OTReservationDateN'] = this.oTReservationDateN;
    data['OTID'] = this.oTID;
    data['AdmissionRequestNo'] = this.admissionRequestNo;
    data['AdmissionNo'] = this.admissionNo;
    data['PrimaryDoctorID'] = this.primaryDoctorID;
    data['PatientType'] = this.patientType;
    data['PatientID'] = this.patientID;
    data['PatientStatusType'] = this.patientStatusType;
    data['ClinicID'] = this.clinicID;
    data['DoctorID'] = this.doctorID;
    data['OperationDate'] = this.operationDate;
    data['OperationType'] = this.operationType;
    data['EndDate'] = this.endDate;
    data['TimeStart'] = this.timeStart;
    data['TimeEnd'] = this.timeEnd;
    data['Remarks'] = this.remarks;
    data['Status'] = this.status;
    data['CreatedBy'] = this.createdBy;
    data['CreatedOn'] = this.createdOn;
    data['EditedBy'] = this.editedBy;
    data['EditedOn'] = this.editedOn;
    data['PatientName'] = this.patientName;
    data['PatientNameN'] = this.patientNameN;
    data['Gender'] = this.gender;
    data['DateofBirth'] = this.dateofBirth;
    data['MobileNumber'] = this.mobileNumber;
    data['EmailAddress'] = this.emailAddress;
    data['DoctorName'] = this.doctorName;
    data['DoctorNameN'] = this.doctorNameN;
    data['ClinicDescription'] = this.clinicDescription;
    data['ClinicDescriptionN'] = this.clinicDescriptionN;
    return data;
  }
}
