class InterventionMedicationHistoryResModel {
  String? setupId;
  String? projectId;
  int? patientId;
  int? admissionNo;
  int? prescriptionId;
  int? orderNo;
  int? id;
  int? interventionId;
  dynamic intervention;
  String? remark;
  int? commentedBy;
  bool? isDoctor;
  bool? isActive;
  int? createdBy;
  String? createdByName;
  String? createdByNameN;
  String? createdOn;
  dynamic editedBy;
  dynamic editedByName;
  dynamic editedByNameN;
  dynamic editedOn;

  InterventionMedicationHistoryResModel(
      {this.setupId,
      this.projectId,
      this.patientId,
      this.admissionNo,
      this.prescriptionId,
      this.orderNo,
      this.id,
      this.interventionId,
      this.intervention,
      this.remark,
      this.commentedBy,
      this.isDoctor,
      this.isActive,
      this.createdBy,
      this.createdByName,
      this.createdByNameN,
      this.createdOn,
      this.editedBy,
      this.editedByName,
      this.editedByNameN,
      this.editedOn});

  InterventionMedicationHistoryResModel.fromJson(Map<String, dynamic> json) {
    setupId = json['SetupId'];
    projectId = json['ProjectId'];
    patientId = json['PatientId'];
    admissionNo = json['AdmissionNo'];
    prescriptionId = json['PrescriptionId'];
    orderNo = json['OrderNo'];
    id = json['Id'];
    interventionId = json['InterventionId'];
    intervention = json['Intervention'];
    remark = json['Remark'];
    commentedBy = json['CommentedBy'];
    isDoctor = json['IsDoctor'];
    isActive = json['IsActive'];
    createdBy = json['CreatedBy'];
    createdByName = json['CreatedByName'];
    createdByNameN = json['CreatedByNameN'];
    createdOn = json['CreatedOn'];
    editedBy = json['EditedBy'];
    editedByName = json['EditedByName'];
    editedByNameN = json['EditedByNameN'];
    editedOn = json['EditedOn'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['SetupId'] = this.setupId;
    data['ProjectId'] = this.projectId;
    data['PatientId'] = this.patientId;
    data['AdmissionNo'] = this.admissionNo;
    data['PrescriptionId'] = this.prescriptionId;
    data['OrderNo'] = this.orderNo;
    data['Id'] = this.id;
    data['InterventionId'] = this.interventionId;
    data['Intervention'] = this.intervention;
    data['Remark'] = this.remark;
    data['CommentedBy'] = this.commentedBy;
    data['IsDoctor'] = this.isDoctor;
    data['IsActive'] = this.isActive;
    data['CreatedBy'] = this.createdBy;
    data['CreatedByName'] = this.createdByName;
    data['CreatedByNameN'] = this.createdByNameN;
    data['CreatedOn'] = this.createdOn;
    data['EditedBy'] = this.editedBy;
    data['EditedByName'] = this.editedByName;
    data['EditedByNameN'] = this.editedByNameN;
    data['EditedOn'] = this.editedOn;
    return data;
  }
}
