class CheckPatientForRegistration {
  int patientIdentificationID;
  int patientMobileNumber;
  String zipCode;
  double versionID;
  int channel;
  int languageID;
  String iPAdress;
  String generalid;
  int patientOutSA;
  Null sessionID;
  bool isDentalAllowedBackend;
  int deviceTypeID;
  String tokenID;
  int patientID;
  bool isRegister;
  String dob;
  int isHijri;

  CheckPatientForRegistration(
      {this.patientIdentificationID,
      this.patientMobileNumber,
      this.zipCode,
      this.versionID,
      this.channel,
      this.languageID,
      this.iPAdress,
      this.generalid,
      this.patientOutSA,
      this.sessionID,
      this.isDentalAllowedBackend,
      this.deviceTypeID,
      this.tokenID,
      this.patientID,
      this.isRegister,
      this.dob,
      this.isHijri});

  CheckPatientForRegistration.fromJson(Map<String, dynamic> json) {
    patientIdentificationID = json['PatientIdentificationID'];
    patientMobileNumber = json['PatientMobileNumber'];
    zipCode = json['ZipCode'];
    versionID = json['VersionID'];
    channel = json['Channel'];
    languageID = json['LanguageID'];
    iPAdress = json['IPAdress'];
    generalid = json['generalid'];
    patientOutSA = json['PatientOutSA'];
    sessionID = json['SessionID'];
    isDentalAllowedBackend = json['isDentalAllowedBackend'];
    deviceTypeID = json['DeviceTypeID'];
    tokenID = json['TokenID'];
    patientID = json['PatientID'];
    isRegister = json['isRegister'];
    dob = json['DOB'];
    isHijri = json['IsHijri'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['PatientIdentificationID'] = this.patientIdentificationID;
    data['PatientMobileNumber'] = this.patientMobileNumber;
    data['ZipCode'] = this.zipCode;
    data['VersionID'] = this.versionID;
    data['Channel'] = this.channel;
    data['LanguageID'] = this.languageID;
    data['IPAdress'] = this.iPAdress;
    data['generalid'] = this.generalid;
    data['PatientOutSA'] = this.patientOutSA;
    data['SessionID'] = this.sessionID;
    data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
    data['DeviceTypeID'] = this.deviceTypeID;
    data['TokenID'] = this.tokenID;
    data['PatientID'] = this.patientID;
    data['isRegister'] = this.isRegister;
    data['DOB'] = dob;
    data['IsHijri'] = isHijri;
    return data;
  }
}
