Skip to content

Commit

Permalink
[feat] #40 userState 기본값 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
ziiyouth committed Jan 12, 2024
1 parent a4ca44f commit 673adf7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
import java.util.ArrayList;
import java.util.List;

import static org.gachon.checkmate.domain.member.entity.UserState.JOIN;

@NoArgsConstructor(access = AccessLevel.PROTECTED)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@Builder(access = AccessLevel.PRIVATE)
Expand Down Expand Up @@ -55,6 +57,7 @@ public static User createUser(String email, String storedPassword, String name,
.major(major)
.mbtiType(mbti)
.gender(gender)
.userState(JOIN)
.build();
}

Expand Down

0 comments on commit 673adf7

Please sign in to comment.