about summary refs log tree commit diff
path: root/src/payload-processor/processor/model.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/payload-processor/processor/model.go')
-rw-r--r--src/payload-processor/processor/model.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/payload-processor/processor/model.go b/src/payload-processor/processor/model.go
new file mode 100644
index 0000000..4921f3d
--- /dev/null
+++ b/src/payload-processor/processor/model.go
@@ -0,0 +1,10 @@
+package processor
+
+import "time"
+
+type File struct {
+	User_id       string    `db:"user_id"`
+	Absolute_path string    `db:"absolute_path"`
+	Contents      string    `db:"contents"`
+	Timestamp     time.Time `db:"timestamp"`
+}