// SPDX-FileCopyrightText: 2024 Aravinth Manivannan <realaravinth@batsense.net> // // SPDX-License-Identifier: AGPL-3.0-or-later use mockall::predicate::*; use serde::{Deserialize, Serialize}; use super::{add_category_command::AddCategoryCommand, add_store_command::AddStoreCommand}; #[derive(Clone, Debug, Serialize, Deserialize, Eq, PartialEq, Ord, PartialOrd)] pub enum InventoryCommand { AddCategory(AddCategoryCommand), AddStore(AddStoreCommand), }