class GetHistoryResModel {
  int appointmentNo;
  int episodeId;
  int historyId;
  int historyType;
  bool isChecked;
  int patientMRN;
  String remarks;

  GetHistoryResModel(
      {this.appointmentNo,
        this.episodeId,
        this.historyId,
        this.historyType,
        this.isChecked,
        this.patientMRN,
        this.remarks});

  GetHistoryResModel.fromJson(Map<String, dynamic> json) {
    appointmentNo = json['appointmentNo'];
    episodeId = json['episodeId'];
    historyId = json['historyId'];
    historyType = json['historyType'];
    isChecked = json['isChecked'];
    patientMRN = json['patientMRN'];
    remarks = json['remarks'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['appointmentNo'] = this.appointmentNo;
    data['episodeId'] = this.episodeId;
    data['historyId'] = this.historyId;
    data['historyType'] = this.historyType;
    data['isChecked'] = this.isChecked;
    data['patientMRN'] = this.patientMRN;
    data['remarks'] = this.remarks;
    return data;
  }
}
