recipes/back_core/src/app_core/components/recipe/domain/recipe.rs

14 lines
273 B
Rust

use crate::app_core::shared::lib::EntityId;
use super::RecipeIngredient;
#[derive(Debug, Clone)]
pub struct Recipe {
pub key: EntityId,
pub name: String,
pub instructions: Vec<String>,
pub ingredients: Vec<RecipeIngredient>,
}
impl_base_entity!(Recipe);