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