class RequestPrescriptionReport {
  double versionID;
  int channel;
  int languageID;
  String iPAdress;
  String generalid;
  int patientOutSA;
  String sessionID;
  bool isDentalAllowedBackend;
  int deviceTypeID;
  int patientID;
  String tokenID;
  int patientTypeID;
  int patientType;
  int appointmentNo;
  String setupID;
  int episodeID;
  int clinicID;
  int projectID;
  int dischargeNo;

  RequestPrescriptionReport(
      {this.versionID,
        this.channel,
        this.languageID,
        this.iPAdress,
        this.generalid,
        this.patientOutSA,
        this.sessionID,
        this.isDentalAllowedBackend,
        this.deviceTypeID,
        this.patientID,
        this.tokenID,
        this.patientTypeID,
        this.patientType,
        this.appointmentNo,
        this.setupID,
        this.episodeID,
        this.clinicID,
        this.projectID,
        this.dischargeNo});

  RequestPrescriptionReport.fromJson(Map<String, dynamic> json) {
    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'];
    patientID = json['PatientID'];
    tokenID = json['TokenID'];
    patientTypeID = json['PatientTypeID'];
    patientType = json['PatientType'];
    appointmentNo = json['AppointmentNo'];
    setupID = json['SetupID'];
    episodeID = json['EpisodeID'];
    clinicID = json['ClinicID'];
    projectID = json['ProjectID'];
    dischargeNo = json['DischargeNo'];
  }

  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['SessionID'] = this.sessionID;
    data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
    data['DeviceTypeID'] = this.deviceTypeID;
    data['PatientID'] = this.patientID;
    data['TokenID'] = this.tokenID;
    data['PatientTypeID'] = this.patientTypeID;
    data['PatientType'] = this.patientType;
    data['AppointmentNo'] = this.appointmentNo;
    data['SetupID'] = this.setupID;
    data['EpisodeID'] = this.episodeID;
    data['ClinicID'] = this.clinicID;
    data['ProjectID'] = this.projectID;
    data['DischargeNo'] = this.dischargeNo;
    return data;
  }
}
