Skip to content

Commit

Permalink
feat : 닉네임 업데이트 메서드 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
GaBaljaintheroom committed Jan 20, 2024
1 parent fdb8f7a commit b510abd
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import site.timecapsulearchive.core.domain.group.entity.GroupInvite;
import site.timecapsulearchive.core.domain.group.entity.MemberGroup;
import site.timecapsulearchive.core.domain.history.entity.History;
import site.timecapsulearchive.core.domain.member.util.MakeRandomNickNameUtil;
import site.timecapsulearchive.core.global.entity.BaseEntity;

@Entity
Expand Down Expand Up @@ -105,4 +106,7 @@ public void updatePhoneNumber(String phone) {
this.phone = phone;
}

public void updateNickName() {
this.nickname = MakeRandomNickNameUtil.makeRandomNickName();
}
}

0 comments on commit b510abd

Please sign in to comment.