From 3975c60f901a506a3ceafe9463a58d12c1a4b6d8 Mon Sep 17 00:00:00 2001 From: yeopyeop-82 Date: Sun, 18 Feb 2024 14:36:06 +0900 Subject: [PATCH] =?UTF-8?q?add=20:=20User=20=EC=97=94=ED=8B=B0=ED=8B=B0?= =?UTF-8?q?=EC=97=90=20details=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/umc/meme/shop/domain/user/User.java | 3 +++ 1 file changed, 3 insertions(+) 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); }