Skip to content

Commit 630767e

Browse files
committed
chore: update Product to use UUID for code instead of String
1 parent 68a6128 commit 630767e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/acme/Product.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
import java.util.UUID;
77

88
@Embeddable(Embeddable.EmbeddableType.GROUPING)
9-
public record Product(@Column String code, @Column String name) {
9+
public record Product(@Column UUID code, @Column String name) {
1010

1111
}

0 commit comments

Comments
 (0)