From e3eccb0afaddc565007d7565be7d3d8670cce629 Mon Sep 17 00:00:00 2001 From: SungKyum Kim Date: Wed, 23 Oct 2024 11:04:37 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20please,=20interest=20=ED=85=8C?= =?UTF-8?q?=EC=9D=B4=EB=B8=94=20=EB=AA=85=20=EB=A7=A4=ED=95=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/java/mouda/backend/please/domain/Interest.java | 2 ++ backend/src/main/java/mouda/backend/please/domain/Please.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/backend/src/main/java/mouda/backend/please/domain/Interest.java b/backend/src/main/java/mouda/backend/please/domain/Interest.java index 721ac3a10..24b9f018e 100644 --- a/backend/src/main/java/mouda/backend/please/domain/Interest.java +++ b/backend/src/main/java/mouda/backend/please/domain/Interest.java @@ -8,6 +8,7 @@ import jakarta.persistence.Id; import jakarta.persistence.JoinColumn; import jakarta.persistence.ManyToOne; +import jakarta.persistence.Table; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; @@ -17,6 +18,7 @@ @Entity @Getter +@Table(name = "interest") @NoArgsConstructor public class Interest { diff --git a/backend/src/main/java/mouda/backend/please/domain/Please.java b/backend/src/main/java/mouda/backend/please/domain/Please.java index 3f53884fc..1197e30e9 100644 --- a/backend/src/main/java/mouda/backend/please/domain/Please.java +++ b/backend/src/main/java/mouda/backend/please/domain/Please.java @@ -7,6 +7,7 @@ import jakarta.persistence.GeneratedValue; import jakarta.persistence.GenerationType; import jakarta.persistence.Id; +import jakarta.persistence.Table; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; @@ -15,6 +16,7 @@ @Entity @Getter +@Table(name = "please") @NoArgsConstructor public class Please {