From 27b95c9186bd45edd4c982a7cc89cf69cf2c5d46 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Wed, 16 Oct 2024 12:51:21 +0100 Subject: All backend stuff lives in backend folder --- backend/app/src/models/category_balance.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 backend/app/src/models/category_balance.rs (limited to 'backend/app/src/models/category_balance.rs') diff --git a/backend/app/src/models/category_balance.rs b/backend/app/src/models/category_balance.rs new file mode 100644 index 0000000..796b40b --- /dev/null +++ b/backend/app/src/models/category_balance.rs @@ -0,0 +1,7 @@ +use serde::Serialize; + +#[derive(Serialize)] +pub struct CategoryBalance { + pub category_id: i32, + pub balance: i32, +} -- cgit v1.2.3