feat(recipe): añadida variable isFavorite para tener recetas favoritas

parent 1b60da3a
...@@ -15,6 +15,7 @@ public class Recipe { ...@@ -15,6 +15,7 @@ public class Recipe {
private String name; private String name;
private String description; private String description;
private String picture; private String picture;
private boolean isFavorite;
private Set<Ingredient> ingredients; private Set<Ingredient> ingredients;
private Set<Step> steps; private Set<Step> steps;
......
...@@ -17,6 +17,7 @@ public class RecipeOutputDto { ...@@ -17,6 +17,7 @@ public class RecipeOutputDto {
private String name; private String name;
private String description; private String description;
private String picture; private String picture;
private boolean isFavorite;
private Set<IngredientOutputDto> ingredients; private Set<IngredientOutputDto> ingredients;
private Set<StepOutputDto> steps; private Set<StepOutputDto> steps;
......
...@@ -22,6 +22,7 @@ public class RecipeDocument { ...@@ -22,6 +22,7 @@ public class RecipeDocument {
private String name; private String name;
private String description; private String description;
private String picture; private String picture;
private boolean isFavorite;
private Set<IngredientDocument> ingredients = new HashSet<>(); private Set<IngredientDocument> ingredients = new HashSet<>();
private Set<StepDocument> steps = new HashSet<>(); private Set<StepDocument> steps = new HashSet<>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment