class PatientInsuranceDetailsResponseModel {
  String? setupID;
  int? projectID;
  bool? isActive;
  int? patientID;
  int? companyID;
  int? subCategoryID;
  dynamic companyType;
  String? patientCardID;
  String? cardValidTo;
  int? patientCreditLimit;
  String? subPolicyNo;
  String? companyName;
  String? companyNameN;
  String? subCategoryDesc;
  dynamic subCategoryDescN;
  bool? isElectronicClaim;
  String? subCategoryValidTo;
  dynamic groupID;
  String? groupName;
  dynamic groupNameN;
  String? insurancePolicyNo;

  PatientInsuranceDetailsResponseModel(
      {this.setupID,
      this.projectID,
      this.isActive,
      this.patientID,
      this.companyID,
      this.subCategoryID,
      this.companyType,
      this.patientCardID,
      this.cardValidTo,
      this.patientCreditLimit,
      this.subPolicyNo,
      this.companyName,
      this.companyNameN,
      this.subCategoryDesc,
      this.subCategoryDescN,
      this.isElectronicClaim,
      this.subCategoryValidTo,
      this.groupID,
      this.groupName,
      this.groupNameN,
      this.insurancePolicyNo});

  PatientInsuranceDetailsResponseModel.fromJson(Map<String, dynamic> json) {
    setupID = json['SetupID'];
    projectID = json['ProjectID'];
    isActive = json['IsActive'];
    patientID = json['PatientID'];
    companyID = json['CompanyID'];
    subCategoryID = json['SubCategoryID'];
    companyType = json['CompanyType'];
    patientCardID = json['PatientCardID'];
    cardValidTo = json['CardValidTo'];
    patientCreditLimit = json['PatientCreditLimit'];
    subPolicyNo = json['SubPolicyNo'];
    companyName = json['CompanyName'];
    companyNameN = json['CompanyNameN'];
    subCategoryDesc = json['SubCategoryDesc'];
    subCategoryDescN = json['SubCategoryDescN'];
    isElectronicClaim = json['IsElectronicClaim'];
    subCategoryValidTo = json['SubCategoryValidTo'];
    groupID = json['GroupID'];
    groupName = json['GroupName'];
    groupNameN = json['GroupNameN'];
    insurancePolicyNo = json['InsurancePolicyNo'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['SetupID'] = this.setupID;
    data['ProjectID'] = this.projectID;
    data['IsActive'] = this.isActive;
    data['PatientID'] = this.patientID;
    data['CompanyID'] = this.companyID;
    data['SubCategoryID'] = this.subCategoryID;
    data['CompanyType'] = this.companyType;
    data['PatientCardID'] = this.patientCardID;
    data['CardValidTo'] = this.cardValidTo;
    data['PatientCreditLimit'] = this.patientCreditLimit;
    data['SubPolicyNo'] = this.subPolicyNo;
    data['CompanyName'] = this.companyName;
    data['CompanyNameN'] = this.companyNameN;
    data['SubCategoryDesc'] = this.subCategoryDesc;
    data['SubCategoryDescN'] = this.subCategoryDescN;
    data['IsElectronicClaim'] = this.isElectronicClaim;
    data['SubCategoryValidTo'] = this.subCategoryValidTo;
    data['GroupID'] = this.groupID;
    data['GroupName'] = this.groupName;
    data['GroupNameN'] = this.groupNameN;
    data['InsurancePolicyNo'] = this.insurancePolicyNo;
    return data;
  }
}
