diff --git a/src/main/java/umc/meme/shop/domain/user/User.java b/src/main/java/umc/meme/shop/domain/user/User.java index 97ccb0d..b4480dd 100644 --- a/src/main/java/umc/meme/shop/domain/user/User.java +++ b/src/main/java/umc/meme/shop/domain/user/User.java @@ -74,6 +74,9 @@ public class User { @OneToMany(cascade = CascadeType.ALL, mappedBy = "user") protected List inquiryList; + @NotNull + private boolean details; + public void updateInquiryList(Inquiry inquiry) { this.inquiryList.add(inquiry); }