about summary refs log tree commit diff stats
path: root/crates/rocie-client/src/models/recipe_parent_id.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rocie-client/src/models/recipe_parent_id.rs')
-rw-r--r--crates/rocie-client/src/models/recipe_parent_id.rs27
1 files changed, 27 insertions, 0 deletions
diff --git a/crates/rocie-client/src/models/recipe_parent_id.rs b/crates/rocie-client/src/models/recipe_parent_id.rs
new file mode 100644
index 0000000..68f2e87
--- /dev/null
+++ b/crates/rocie-client/src/models/recipe_parent_id.rs
@@ -0,0 +1,27 @@
+/*
+ * rocie-server
+ *
+ * An enterprise grocery management system - server
+ *
+ * The version of the OpenAPI document: 0.1.0
+ * Contact: benedikt.peetz@b-peetz.de
+ * Generated by: https://openapi-generator.tech
+ */
+
+use crate::models;
+use serde::{Deserialize, Serialize};
+
+#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
+pub struct RecipeParentId {
+    #[serde(rename = "value")]
+    pub value: uuid::Uuid,
+}
+
+impl RecipeParentId {
+    pub fn new(value: uuid::Uuid) -> RecipeParentId {
+        RecipeParentId {
+            value,
+        }
+    }
+}
+