Skip to content
Snippets Groups Projects
Commit 24cbfbb3 authored by Blersch Lara's avatar Blersch Lara
Browse files

added Filepath to Constructor

parent 785e0209
Branches
No related tags found
No related merge requests found
......@@ -22,7 +22,6 @@ public class Recipe implements RecipeComponent {
private NutritionTable nutritionTable;
private final LocalDateTime creationTime;
//TODO: Add filepath for image
private String filepathForImage;
/**
......@@ -76,6 +75,7 @@ public class Recipe implements RecipeComponent {
setCategories(categories);
this.creationTime = LocalDateTime.now();
filepathForImage = "C:\\Users\\Lara Blersch\\Documents\\Studium\\SE2\\tasty-pages\\src\\main\\resources\\images\\dish-fork-and-knife.png"; //path to default image which can be changed by the user later
}
public void setName(String name) {
......
src/main/resources/images/dish-fork-and-knife.png

11.3 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment