From 18aa6a1cd4491285d41fddc424e188b9f736a467 Mon Sep 17 00:00:00 2001 From: soohyun Date: Sun, 13 Oct 2024 02:50:20 +0900 Subject: [PATCH] =?UTF-8?q?[#242]=20refactor:=20toastid=20=EC=98=A4?= =?UTF-8?q?=ED=83=80=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- linkmind/src/main/java/com/app/toaster/toast/domain/Toast.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linkmind/src/main/java/com/app/toaster/toast/domain/Toast.java b/linkmind/src/main/java/com/app/toaster/toast/domain/Toast.java index d255ba2..eee9999 100644 --- a/linkmind/src/main/java/com/app/toaster/toast/domain/Toast.java +++ b/linkmind/src/main/java/com/app/toaster/toast/domain/Toast.java @@ -17,9 +17,10 @@ @Entity @NoArgsConstructor(access = AccessLevel.PROTECTED) public class Toast { + @Id @GeneratedValue(strategy = GenerationType.IDENTITY) - private Long Id; + private Long id; @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "user_id")