diff pkg/models/fa.go @ 1755:d3fe20a13339

Import: Filter fairway availabilities by period and resolve insert confilcts.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 10 Jan 2019 16:43:42 +0100
parents 49e047c2106e
children
line wrap: on
line diff
--- a/pkg/models/fa.go	Thu Jan 10 16:19:26 2019 +0100
+++ b/pkg/models/fa.go	Thu Jan 10 16:43:42 2019 +0100
@@ -13,7 +13,11 @@
 
 package models
 
-import "gemma.intevation.de/gemma/pkg/common"
+import (
+	"time"
+
+	"gemma.intevation.de/gemma/pkg/common"
+)
 
 // FairwayAvailabilityImport contains data used to define the endpoint
 type FairwayAvailabilityImport struct {
@@ -23,3 +27,8 @@
 	// Attributes are optional attributes.
 	Attributes common.Attributes `json:"attributes,omitempty"`
 }
+
+type UniqueFairwayAvailability struct {
+	BottleneckId string
+	Surdat       time.Time
+}