class DoctorResponse {
  int? projectID;
  int? transactionNo;
  int? patientID;
  int? doctorID;
  int? requestType;
  String? requestTypeDescription;
  dynamic requestTypeDescriptionN;
  int? status;
  String? remarks;
  String? createdOn;
  dynamic readStatus;
  String? doctorName;
  bool? isDoctorRespond;
  bool? isPatientRead;
  List<dynamic>? transactions;

  DoctorResponse(
      {this.projectID,
      this.transactionNo,
      this.patientID,
      this.doctorID,
      this.requestType,
      this.requestTypeDescription,
      this.requestTypeDescriptionN,
      this.status,
      this.remarks,
      this.createdOn,
      this.readStatus,
      this.doctorName,
      this.isDoctorRespond,
      this.isPatientRead,
      this.transactions});

  DoctorResponse.fromJson(Map<String, dynamic> json) {
    projectID = json['ProjectID'];
    transactionNo = json['TransactionNo'];
    patientID = json['PatientID'];
    doctorID = json['DoctorID'];
    requestType = json['RequestType'];
    requestTypeDescription = json['RequestTypeDescription'];
    requestTypeDescriptionN = json['RequestTypeDescriptionN'];
    status = json['Status'];
    remarks = json['Remarks'];
    createdOn = json['CreatedOn'];
    readStatus = json['ReadStatus'];
    doctorName = json['DoctorName'];
    isDoctorRespond = json['IsDoctorRespond'];
    isPatientRead = json['IsPatientRead'];
    if (json['Transactions'] != null) {
      transactions = json['Transactions'];
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ProjectID'] = this.projectID;
    data['TransactionNo'] = this.transactionNo;
    data['PatientID'] = this.patientID;
    data['DoctorID'] = this.doctorID;
    data['RequestType'] = this.requestType;
    data['RequestTypeDescription'] = this.requestTypeDescription;
    data['RequestTypeDescriptionN'] = this.requestTypeDescriptionN;
    data['Status'] = this.status;
    data['Remarks'] = this.remarks;
    data['CreatedOn'] = this.createdOn;
    data['ReadStatus'] = this.readStatus;
    data['DoctorName'] = this.doctorName;
    data['IsDoctorRespond'] = this.isDoctorRespond;
    data['IsPatientRead'] = this.isPatientRead;
    if (this.transactions != null) {
      data['Transactions'] = this.transactions!.map((v) => v.toJson()).toList();
    }
    return data;
  }
}
