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