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 eb5bf5f commit f789847Copy full SHA for f789847
src/main/java/os/expert/sample/Goal.java
@@ -1,6 +1,11 @@
1
package os.expert.sample;
2
3
+import jakarta.nosql.Column;
4
+import jakarta.nosql.Entity;
5
+import jakarta.nosql.Id;
6
+
7
import java.util.List;
8
-public record Goal(String title, String description, List<Task> tasks) {
9
+@Entity
10
+public record Goal(@Id String title, @Column String description, @Column List<Task> tasks) {
11
}
0 commit comments