From 7ce0ae980d5ada32ca58090c739b98a69bf659b9 Mon Sep 17 00:00:00 2001 From: chaeyoungeee Date: Thu, 25 Jul 2024 01:40:42 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20member=20=EB=8F=84=EB=A9=94=EC=9D=B8=20?= =?UTF-8?q?=EC=97=B0=EA=B4=80=EA=B4=80=EA=B3=84=20=EB=A7=A4=ED=95=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MZConnent/domain/member/Member.java | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) 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) {