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

10 lines
172 B
Rust

use crate::app_core::shared::lib::EntityId;
#[derive(Debug, Clone)]
pub struct Ingredient {
pub key: EntityId,
pub name: String,
}
impl_base_entity!(Ingredient);