diff --git a/src/main/java/likelion/MZConnent/domain/member/Member.java b/src/main/java/likelion/MZConnent/domain/member/Member.java index 9bb4c73..f8d43fb 100644 --- a/src/main/java/likelion/MZConnent/domain/member/Member.java +++ b/src/main/java/likelion/MZConnent/domain/member/Member.java @@ -45,6 +45,29 @@ public class Member { @OneToMany(mappedBy = "member", cascade = CascadeType.ALL) private List selfIntroductions = new ArrayList<>(); + @OneToMany(mappedBy = "member") + private List clubs; + + @OneToMany(mappedBy = "member") + private List reviewComments; + + @OneToMany(mappedBy = "member") + private List chats; + + @OneToMany(mappedBy = "member") + private List cultureInterests; + + @OneToMany(mappedBy = "member") + private List reviewLikes; + + @OneToMany(mappedBy = "member") + private List clubMembers; + + @OneToMany(mappedBy = "member") + private List reviews; + + @OneToMany(mappedBy = "member") + private List manners; @Builder public Member(String email, String password, String realname, String username, Role role, Gender gender, Age age, String instagramId, String facebookId, List selfIntroductions) {