Skip to content

Commit

Permalink
RAC-452 fix : user에 wish 세팅 메소드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 committed Oct 23, 2024
1 parent 41f2900 commit e3b1b7f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit e3b1b7f

Please sign in to comment.