Skip to content

Commit e0461dd

Browse files
committed
feat: update task using jakarta nosql annotations
Signed-off-by: Otavio Santana <[email protected]>
1 parent f789847 commit e0461dd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
package os.expert.sample;
22

3-
public record Task(String title, String description) {
3+
import jakarta.nosql.Column;
4+
import jakarta.nosql.Embeddable;
5+
6+
@Embeddable(Embeddable.EmbeddableType.GROUPING)
7+
public record Task(@Column String title, @Column String description) {
48
}

0 commit comments

Comments
 (0)