summaryrefslogtreecommitdiff
path: root/rust/schist_models/src/category_budget.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/schist_models/src/category_budget.rs')
-rw-r--r--rust/schist_models/src/category_budget.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/rust/schist_models/src/category_budget.rs b/rust/schist_models/src/category_budget.rs
new file mode 100644
index 0000000..9796261
--- /dev/null
+++ b/rust/schist_models/src/category_budget.rs
@@ -0,0 +1,9 @@
+use serde::Serialize;
+
+use super::budget::Budget;
+
+#[derive(Serialize)]
+pub struct CategoryBudget {
+ pub category_id: i32,
+ pub budget: Option<Budget>,
+}