class InsuranceCardDetailsModel {
  int? approvalLimit;
  int? companyGroupID;
  String? companyName;
  String? companyRemarks;
  String? dOB;
  int? deductible;
  String? effectiveFrom;
  String? effectiveTo;
  String? eligabilityFailureReason;
  bool? isMemberEligible;
  String? memberID;
  String? memberName;
  String? memberStatus;
  dynamic message;
  String? nationalId;
  String? policyNumber;
  String? responseMessage;
  String? room;
  String? subCategory;

  InsuranceCardDetailsModel(
      {this.approvalLimit,
      this.companyGroupID,
      this.companyName,
      this.companyRemarks,
      this.dOB,
      this.deductible,
      this.effectiveFrom,
      this.effectiveTo,
      this.eligabilityFailureReason,
      this.isMemberEligible,
      this.memberID,
      this.memberName,
      this.memberStatus,
      this.message,
      this.nationalId,
      this.policyNumber,
      this.responseMessage,
      this.room,
      this.subCategory});

  InsuranceCardDetailsModel.fromJson(Map<String, dynamic> json) {
    approvalLimit = json['ApprovalLimit'];
    companyGroupID = json['CompanyGroupID'];
    companyName = json['CompanyName'];
    companyRemarks = json['CompanyRemarks'];
    dOB = json['DOB'];
    deductible = json['Deductible'];
    effectiveFrom = json['EffectiveFrom'];
    effectiveTo = json['EffectiveTo'];
    eligabilityFailureReason = json['EligabilityFailureReason'];
    isMemberEligible = json['IsMemberEligible'];
    memberID = json['MemberID'];
    memberName = json['MemberName'];
    memberStatus = json['MemberStatus'];
    message = json['Message'];
    nationalId = json['NationalId'];
    policyNumber = json['PolicyNumber'];
    responseMessage = json['ResponseMessage'];
    room = json['Room'];
    subCategory = json['SubCategory'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ApprovalLimit'] = this.approvalLimit;
    data['CompanyGroupID'] = this.companyGroupID;
    data['CompanyName'] = this.companyName;
    data['CompanyRemarks'] = this.companyRemarks;
    data['DOB'] = this.dOB;
    data['Deductible'] = this.deductible;
    data['EffectiveFrom'] = this.effectiveFrom;
    data['EffectiveTo'] = this.effectiveTo;
    data['EligabilityFailureReason'] = this.eligabilityFailureReason;
    data['IsMemberEligible'] = this.isMemberEligible;
    data['MemberID'] = this.memberID;
    data['MemberName'] = this.memberName;
    data['MemberStatus'] = this.memberStatus;
    data['Message'] = this.message;
    data['NationalId'] = this.nationalId;
    data['PolicyNumber'] = this.policyNumber;
    data['ResponseMessage'] = this.responseMessage;
    data['Room'] = this.room;
    data['SubCategory'] = this.subCategory;
    return data;
  }
}
