class MyReferralPatientRequestModel {
  int? channel;
  int? clinicID;
  int? doctorID;
  int? editedBy;
  String? firstName;
  String? from;
  String? iPAdress;
  bool? isLoginForDoctorApp;
  int? languageID;
  String? lastName;
  String? middleName;
  int? patientID;
  String? patientIdentificationID;
  String? patientMobileNumber;
  bool? patientOutSA;
  int? patientTypeID;
  int? projectID;
  String? sessionID;
  String? stamp;
  String? to;
  String? tokenID;
  double? versionID;
  String? vidaAuthTokenID;

  MyReferralPatientRequestModel(
      {this.channel,
      this.clinicID,
      this.doctorID,
      this.editedBy,
      this.firstName,
      this.from,
      this.iPAdress,
      this.isLoginForDoctorApp,
      this.languageID,
      this.lastName,
      this.middleName,
      this.patientID,
      this.patientIdentificationID,
      this.patientMobileNumber,
      this.patientOutSA,
      this.patientTypeID,
      this.projectID,
      this.sessionID,
      this.stamp,
      this.to,
      this.tokenID,
      this.versionID,
      this.vidaAuthTokenID});

  MyReferralPatientRequestModel.fromJson(Map<String, dynamic> json) {
    channel = json['Channel'];
    clinicID = json['ClinicID'];
    doctorID = json['DoctorID'];
    editedBy = json['EditedBy'];
    firstName = json['FirstName'];
    from = json['From'];
    iPAdress = json['IPAdress'];
    isLoginForDoctorApp = json['IsLoginForDoctorApp'];
    languageID = json['LanguageID'];
    lastName = json['LastName'];
    middleName = json['MiddleName'];
    patientID = json['PatientID'];
    patientIdentificationID = json['PatientIdentificationID'];
    patientMobileNumber = json['PatientMobileNumber'];
    patientOutSA = json['PatientOutSA'];
    patientTypeID = json['PatientTypeID'];
    projectID = json['ProjectID'];
    sessionID = json['SessionID'];
    stamp = json['stamp'];
    to = json['To'];
    tokenID = json['TokenID'];
    versionID = json['VersionID'];
    vidaAuthTokenID = json['VidaAuthTokenID'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['Channel'] = this.channel;
    data['ClinicID'] = this.clinicID;
    data['DoctorID'] = this.doctorID;
    data['EditedBy'] = this.editedBy;
    data['FirstName'] = this.firstName;
    data['From'] = this.from;
    data['IPAdress'] = this.iPAdress;
    data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
    data['LanguageID'] = this.languageID;
    data['LastName'] = this.lastName;
    data['MiddleName'] = this.middleName;
    data['PatientID'] = this.patientID;
    data['PatientIdentificationID'] = this.patientIdentificationID;
    data['PatientMobileNumber'] = this.patientMobileNumber;
    data['PatientOutSA'] = this.patientOutSA;
    data['PatientTypeID'] = this.patientTypeID;
    data['ProjectID'] = this.projectID;
    data['SessionID'] = this.sessionID;
    data['stamp'] = this.stamp;
    data['To'] = this.to;
    data['TokenID'] = this.tokenID;
    data['VersionID'] = this.versionID;
    data['VidaAuthTokenID'] = this.vidaAuthTokenID;
    return data;
  }
}
