feat: implement meal planning feature with CRUD operations and UI integration
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { IsDateString, IsInt, IsPositive } from 'class-validator';
|
||||
|
||||
export class CreateMealPlanEntryDto {
|
||||
@IsDateString()
|
||||
date: string; // YYYY-MM-DD
|
||||
|
||||
@IsInt()
|
||||
@IsPositive()
|
||||
recipeId: number;
|
||||
}
|
||||
Reference in New Issue
Block a user