add dtos and fix entities including migrations
This commit is contained in:
parent
ad6ee64565
commit
d94251dea4
9 changed files with 125 additions and 3 deletions
10
src/dtos/RecipeIngredientGroupDto.ts
Normal file
10
src/dtos/RecipeIngredientGroupDto.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { UUID } from "crypto";
|
||||
import { AbstractDto } from "./AbstractDto.js";
|
||||
import { RecipeIngredientDto } from "./RecipeIngredientDto.js";
|
||||
|
||||
export class RecipeIngredientGroupDto extends AbstractDto{
|
||||
title?: string;
|
||||
sortOrder?: string;
|
||||
recipeId?: UUID;
|
||||
ingredients?: RecipeIngredientDto[];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue