diff pkg/models/imports.go @ 4400:3b36c4d810b0

Added back end for deletion of sounding results.
author Sascha Wilde <wilde@intevation.de>
date Mon, 16 Sep 2019 16:41:56 +0200
parents 024b16a1c253
children 8eb36d0d5bdf
line wrap: on
line diff
--- a/pkg/models/imports.go	Fri Sep 13 16:16:59 2019 +0200
+++ b/pkg/models/imports.go	Mon Sep 16 16:41:56 2019 +0200
@@ -128,6 +128,11 @@
 	StretchDelete struct {
 		ID int64 `json:"id"`
 	}
+
+	SoundingResultDelete struct {
+		BottleneckId string `json:"bottleneck-id"`
+		Date         Date   `json:"date-info"`
+	}
 )
 
 func (cui *ConfigurableURLImport) MarshalAttributes(attrs common.Attributes) error {