Skip to content

Commit

Permalink
fix: @Embedded 빠진거 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
korECM committed Oct 22, 2022
1 parent b155f7e commit 924ea4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/kotlin/zip/cafe/entity/review/Review.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class Review protected constructor(

@Enumerated(STRING)
val visitPurpose: Purpose,

@Embedded
@AttributeOverride(name = "score", column = Column(name = "visit_purpose_score", nullable = false))
val visitPurposeScore: IntScore,

Expand Down

0 comments on commit 924ea4b

Please sign in to comment.