summaryrefslogtreecommitdiff
path: root/dichroism/src/models/photo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'dichroism/src/models/photo.rs')
-rw-r--r--dichroism/src/models/photo.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/dichroism/src/models/photo.rs b/dichroism/src/models/photo.rs
new file mode 100644
index 0000000..2e8b3bf
--- /dev/null
+++ b/dichroism/src/models/photo.rs
@@ -0,0 +1,5 @@
+#[derive(Debug, Queryable, Serialize, Clone)]
+pub struct Photo {
+ pub id: i32,
+ pub path: String,
+}