Skip to content

Commit

Permalink
Merge pull request #29 from seoshinehyo/feat/#27
Browse files Browse the repository at this point in the history
[feat] 엔티티 수정
  • Loading branch information
seoshinehyo authored Dec 19, 2024
2 parents 1019674 + 0692316 commit c92d050
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/dearnote/domain/Member.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ public class Member extends BaseEntity {
@Enumerated(EnumType.STRING)
private MemberStatus status;

@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "letter_box_id", nullable = false)
@OneToOne(mappedBy = "member", fetch = FetchType.LAZY)
private LetterBox letterBox;

@OneToMany(mappedBy = "sender")
Expand Down

0 comments on commit c92d050

Please sign in to comment.