summaryrefslogtreecommitdiffstats
path: root/internal/models/operation.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/models/operation.go')
-rw-r--r--internal/models/operation.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/internal/models/operation.go b/internal/models/operation.go
new file mode 100644
index 0000000..8547030
--- /dev/null
+++ b/internal/models/operation.go
@@ -0,0 +1,16 @@
+package models
+
+import (
+ "database/sql"
+)
+
+type Operation struct {
+ ID int
+ Name string
+ Description string
+ Organisation Organisation
+}
+
+type OperationMOdel struct {
+ DB *sql.DB
+}