class GetHistoryReqModel {
  int patientMRN;
  int historyType;
  String episodeID;
  String from;
  String to;
  int clinicID;
  int appointmentNo;
  dynamic editedBy;
  dynamic doctorID;

  GetHistoryReqModel(
      {this.patientMRN,
      this.historyType,
      this.episodeID,
      this.from,
      this.to,
      this.clinicID,
      this.doctorID,
      this.editedBy,
      this.appointmentNo});

  GetHistoryReqModel.fromJson(Map<String, dynamic> json) {
    patientMRN = json['PatientMRN'];
    historyType = json['HistoryType'];
    episodeID = json['EpisodeID'];
    from = json['From'];
    to = json['To'];
    clinicID = json['ClinicID'];
    doctorID = json['DoctorID'];
    appointmentNo = json['AppointmentNo'];
    editedBy = json['EditedBy'];

  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['PatientMRN'] = this.patientMRN;
    data['HistoryType'] = this.historyType;
    data['AppointmentNo'] = this.appointmentNo;
    data['EpisodeID'] = this.episodeID;
    data['From'] = this.from;
    data['To'] = this.to;
    data['ClinicID'] = this.clinicID;
    data['DoctorID'] = this.doctorID;
    data['EditedBy'] = this.editedBy;

    return data;
  }
}
