class UpdateNoteReqModel {
  int? projectID;
  int? createdBy;
  int? admissionNo;
  int? lineItemNo;
  String? notes;
  bool? verifiedNote;
  bool? cancelledNote;
  int? languageID;
  String? stamp;
  String? iPAdress;
  double? versionID;
  int? channel;
  String? tokenID;
  String? sessionID;
  bool? isLoginForDoctorApp;
  bool? patientOutSA;
  int? patientTypeID;
  int? conditionId;
  String? patientMRN;


  UpdateNoteReqModel(
      {this.projectID,
      this.createdBy,
      this.admissionNo,
      this.lineItemNo,
      this.notes,
      this.verifiedNote,
      this.cancelledNote,
      this.languageID,
      this.stamp,
      this.iPAdress,
      this.versionID,
      this.channel,
      this.tokenID,
      this.sessionID,
      this.isLoginForDoctorApp,
      this.patientOutSA,
      this.patientTypeID,
      this.conditionId,
      this.patientMRN});

  UpdateNoteReqModel.fromJson(Map<String, dynamic> json) {
    projectID = json['ProjectID'];
    createdBy = json['CreatedBy'];
    admissionNo = json['AdmissionNo'];
    lineItemNo = json['LineItemNo'];
    notes = json['Notes'];
    verifiedNote = json['VerifiedNote'];
    cancelledNote = json['CancelledNote'];
    languageID = json['LanguageID'];
    stamp = json['stamp'];
    iPAdress = json['IPAdress'];
    versionID = json['VersionID'];
    channel = json['Channel'];
    tokenID = json['TokenID'];
    sessionID = json['SessionID'];
    isLoginForDoctorApp = json['IsLoginForDoctorApp'];
    patientOutSA = json['PatientOutSA'];
    patientTypeID = json['PatientTypeID'];
    conditionId = json['ConditionId'];
    patientMRN = json['PatientMRN'];
  }

  Map<String, dynamic> toJson({
    bool isVidaPlusProject = false
}) {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ProjectID'] = this.projectID;
    data['CreatedBy'] = this.createdBy;
    data['AdmissionNo'] = this.admissionNo;
    data['LineItemNo'] = this.lineItemNo;
    data['Notes'] = this.notes;
    data['VerifiedNote'] = this.verifiedNote;
    data['CancelledNote'] = this.cancelledNote;
    data['LanguageID'] = this.languageID;
    data['stamp'] = this.stamp;
    data['IPAdress'] = this.iPAdress;
    data['VersionID'] = this.versionID;
    data['Channel'] = this.channel;
    data['TokenID'] = this.tokenID;
    data['SessionID'] = this.sessionID;
    data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
    data['PatientOutSA'] = this.patientOutSA;
    data['PatientTypeID'] = this.patientTypeID;
    data['ConditionId'] = this.conditionId;
    if(isVidaPlusProject) {
      data['PatientMRN'] = this.patientMRN;
    }
    return data;
  }
}
