Skip to content
Snippets Groups Projects

Changed day from enum to string, so frontend can easily display the days in Norwegian

Merged Axel Ytterås requested to merge AddToShoppingListFromRecipeConvertAmountFix into main
3 files
+ 16
26
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -20,15 +20,5 @@ public class DayMenu {
@@ -20,15 +20,5 @@ public class DayMenu {
@Setter @Getter @ManyToOne Recipe recipe;
@Setter @Getter @ManyToOne Recipe recipe;
@Setter @Getter Day day;
@Setter @Getter String day;
public enum Day{
MONDAY,
TUESDAY,
WEDNESDAY,
THURSDAY,
FRIDAY,
SATURDAY,
SUNDAY
}
}
}
Loading