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; }
/// catalog | ai | catalog+ai
public string Method { get; set; } = string.Empty;
public int UnlinkedIngredientCount { get; set; }
public List Ingredients { get; set; } = new();
public RecipeDetailDto? Recipe { get; set; }
}