class OrderUpdateRequestModel {
  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? presOrderID;
  int? presOrderStatus;
  int? editedBy;
  String? rejectionReason;

  OrderUpdateRequestModel({
    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.presOrderID,
    this.presOrderStatus,
    this.editedBy,
    this.rejectionReason,
  });

  OrderUpdateRequestModel.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'];
    presOrderID = json['PresOrderID'];
    presOrderStatus = json['PresOrderStatus'];
    editedBy = json['EditedBy'];
    rejectionReason = json['RejectionReason'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['VersionID'] = versionID;
    data['Channel'] = channel;
    data['LanguageID'] = languageID;
    data['IPAdress'] = iPAdress;
    data['generalid'] = generalid;
    data['PatientOutSA'] = patientOutSA;
    data['SessionID'] = sessionID;
    data['isDentalAllowedBackend'] = isDentalAllowedBackend;
    data['DeviceTypeID'] = deviceTypeID;
    data['PatientID'] = patientID;
    data['TokenID'] = tokenID;
    data['PatientTypeID'] = patientTypeID;
    data['PatientType'] = patientType;
    data['Id'] = presOrderID;
    data['ClickButton'] = 14;
    data['PresOrderStatus'] = presOrderStatus;
    data['EditedBy'] = editedBy;
    data['RejectionReason'] = rejectionReason;
    return data;
  }
}
