* Added missing files
This commit is contained in:
25
MealPlan.Api/DTOs/Recipe/RecalculateRecipeCaloriesDto.cs
Normal file
25
MealPlan.Api/DTOs/Recipe/RecalculateRecipeCaloriesDto.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace MealPlan.Api.DTOs.Recipe;
|
||||
|
||||
public class RecalculateRecipeCaloriesRequestDto
|
||||
{
|
||||
public int TargetCalories { get; set; }
|
||||
public int CalorieToleranceKcal { get; set; } = 10;
|
||||
public bool Apply { get; set; }
|
||||
}
|
||||
|
||||
public class RecalculateRecipeCaloriesResultDto
|
||||
{
|
||||
public int RecipeId { get; set; }
|
||||
public int? PreviousCalories { get; set; }
|
||||
public int TargetCalories { get; set; }
|
||||
public int? NewCalories { get; set; }
|
||||
public decimal? NewProtein { get; set; }
|
||||
public decimal? NewFat { get; set; }
|
||||
public decimal? NewCarbs { get; set; }
|
||||
public bool Applied { get; set; }
|
||||
/// <summary>catalog | ai | catalog+ai</summary>
|
||||
public string Method { get; set; } = string.Empty;
|
||||
public int UnlinkedIngredientCount { get; set; }
|
||||
public List<IngredientDto> Ingredients { get; set; } = new();
|
||||
public RecipeDetailDto? Recipe { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user