diff --git a/src/main/java/com/postgraduate/domain/member/user/domain/entity/User.java b/src/main/java/com/postgraduate/domain/member/user/domain/entity/User.java index 4ffc6c63..4225c170 100644 --- a/src/main/java/com/postgraduate/domain/member/user/domain/entity/User.java +++ b/src/main/java/com/postgraduate/domain/member/user/domain/entity/User.java @@ -72,6 +72,10 @@ public class User { @OneToOne(mappedBy = "user") private Wish wish; + public void addWish(Wish wish) { + this.wish = wish; + } + public void updateWishDone() { this.wish.updateDone(); }