|
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);
|