diff --git a/server/src/main/java/com/talkka/server/bookmark/dao/BookmarkDetailEntity.java b/server/src/main/java/com/talkka/server/bookmark/dao/BookmarkDetailEntity.java index 075166a7..83670fcd 100644 --- a/server/src/main/java/com/talkka/server/bookmark/dao/BookmarkDetailEntity.java +++ b/server/src/main/java/com/talkka/server/bookmark/dao/BookmarkDetailEntity.java @@ -9,7 +9,6 @@ import com.talkka.server.subway.enums.Updown; import jakarta.persistence.Column; -import jakarta.persistence.Convert; import jakarta.persistence.Entity; import jakarta.persistence.EntityListeners; import jakarta.persistence.GeneratedValue; @@ -22,7 +21,7 @@ import lombok.Getter; import lombok.NoArgsConstructor; -@Entity(name = "bus_location") +@Entity(name = "bookmark_detail") @Getter @Builder @NoArgsConstructor @@ -38,7 +37,7 @@ public class BookmarkDetailEntity { private Integer seq; @Column(name = "type", nullable = false, length = 10) - @Convert(converter = BookmarkDetailType.class) + // @Convert(converter = BookmarkDetailType.class) private BookmarkDetailType type; @ManyToOne diff --git a/server/src/main/java/com/talkka/server/bookmark/dao/BookmarkEntity.java b/server/src/main/java/com/talkka/server/bookmark/dao/BookmarkEntity.java index a19e41f3..1cccf29c 100644 --- a/server/src/main/java/com/talkka/server/bookmark/dao/BookmarkEntity.java +++ b/server/src/main/java/com/talkka/server/bookmark/dao/BookmarkEntity.java @@ -24,7 +24,7 @@ import lombok.NoArgsConstructor; import lombok.ToString; -@Entity(name = "bus_location") +@Entity(name = "bookmark") @Getter @Builder @NoArgsConstructor diff --git a/server/src/main/java/com/talkka/server/user/dto/UserDto.java b/server/src/main/java/com/talkka/server/user/dto/UserDto.java index e46cec68..b00e2e97 100644 --- a/server/src/main/java/com/talkka/server/user/dto/UserDto.java +++ b/server/src/main/java/com/talkka/server/user/dto/UserDto.java @@ -45,6 +45,7 @@ public UserEntity toEntity() { grade, createdAt, updatedAt, + new ArrayList<>(), new ArrayList<>() ); }