crete inventory with food creation and update

This commit is contained in:
2025-12-20 14:52:58 +03:30
parent 48524542f2
commit 5febf51c1f
2 changed files with 77 additions and 40 deletions
+6
View File
@@ -99,6 +99,12 @@ export class CreateFoodDto {
@ApiPropertyOptional({ example: 0 })
discount?: number;
@IsOptional()
@IsNumber()
@Min(0)
@Type(() => Number)
@ApiProperty({ example: 50 })
dailyStock: number;
@IsOptional()
@IsBoolean()