summaryrefslogtreecommitdiff
path: root/dichroism/src/dtos
diff options
context:
space:
mode:
Diffstat (limited to 'dichroism/src/dtos')
-rw-r--r--dichroism/src/dtos/product_post.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/dichroism/src/dtos/product_post.rs b/dichroism/src/dtos/product_post.rs
index ee3ba03..c04b211 100644
--- a/dichroism/src/dtos/product_post.rs
+++ b/dichroism/src/dtos/product_post.rs
@@ -1,5 +1,6 @@
#[derive(Debug, Deserialize)]
pub struct ProductPost {
+ pub id: Option<i32>,
pub name: String,
pub quantity: i32,
pub cents: i32,