class SickLeavePatientRequestModel {
  double versionID;
  int channel;
  int languageID;
  String iPAdress;
  String generalid;
  int patientOutSA;
  int deviceTypeID;
  int patientType;
  int patientTypeID;
  String tokenID;
  int patientID;
  String sessionID;

  SickLeavePatientRequestModel(
      {this.versionID,
      this.channel,
      this.languageID,
      this.iPAdress,
      this.generalid,
      this.patientOutSA,
      this.deviceTypeID,
      this.patientType,
      this.patientTypeID,
      this.tokenID,
      this.patientID,
      this.sessionID});

  SickLeavePatientRequestModel.fromJson(Map<String, dynamic> json) {
    versionID = json['VersionID'];
    channel = json['Channel'];
    languageID = json['LanguageID'];
    iPAdress = json['IPAdress'];
    generalid = json['generalid'];
    patientOutSA = json['PatientOutSA'];
    deviceTypeID = json['DeviceTypeID'];
    patientType = json['PatientType'];
    patientTypeID = json['PatientTypeID'];
    tokenID = json['TokenID'];
    patientID = json['PatientID'];
    sessionID = json['SessionID'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    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['DeviceTypeID'] = this.deviceTypeID;
    data['PatientType'] = this.patientType;
    data['PatientTypeID'] = this.patientTypeID;
    data['TokenID'] = this.tokenID;
    data['PatientID'] = this.patientID;
    data['SessionID'] = this.sessionID;
    return data;
  }
}
