15 lines
No EOL
449 B
TypeScript
15 lines
No EOL
449 B
TypeScript
|
|
import { AbstractDto } from "./AbstractDto.js";
|
|
import { RecipeIngredientGroupDto } from "./RecipeIngredientGroupDto.js";
|
|
import { RecipeInstructionStepDto } from "./RecipeInstructionStepDto.js";
|
|
/**
|
|
* DTO describing a recipe
|
|
*/
|
|
|
|
export class RecipeDto extends AbstractDto {
|
|
title!: string;
|
|
amount?: number
|
|
amountDescription?: string;
|
|
instructions!: RecipeInstructionStepDto[];
|
|
ingredientGroups!: RecipeIngredientGroupDto[];
|
|
} |