We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e7e8b6 commit d189ee4Copy full SHA for d189ee4
src/main/java/com/otavio/aifoodapp/model/Recipe.java
@@ -1,5 +1,6 @@
1
package com.otavio.aifoodapp.model;
2
3
+import java.time.LocalDate;
4
import java.util.HashSet;
5
import java.util.List;
6
import java.util.Set;
@@ -34,7 +35,7 @@ public class Recipe {
34
35
private List<String> instructions;
36
37
private int quantity;
- private String expiration;
38
+ private LocalDate expiration;
39
40
@ElementCollection(fetch = FetchType.LAZY)
41
@CollectionTable(name = "tb_recipes_nutritional_info", joinColumns = @JoinColumn(name = "recipe_id"))
0 commit comments