Skip to content

Commit

Permalink
feat : 사용자 북마크 엔티티, dto 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Gyaak committed Aug 15, 2024
1 parent e927fca commit f6f57e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -22,7 +21,7 @@
import lombok.Getter;
import lombok.NoArgsConstructor;

@Entity(name = "bus_location")
@Entity(name = "bookmark_detail")
@Getter
@Builder
@NoArgsConstructor
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import lombok.NoArgsConstructor;
import lombok.ToString;

@Entity(name = "bus_location")
@Entity(name = "bookmark")
@Getter
@Builder
@NoArgsConstructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public UserEntity toEntity() {
grade,
createdAt,
updatedAt,
new ArrayList<>(),
new ArrayList<>()
);
}
Expand Down

0 comments on commit f6f57e7

Please sign in to comment.