Skip to content

Commit

Permalink
[mod] #5 유효성 검증 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seokjun01 committed Jan 3, 2025
1 parent 0cbff45 commit 5ff23f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ public class MemberSignUpRequestDto {
@NotNull(message = "성별 선택은 필수 항목입니다.")
private Gender gender;

@NotNull(message = "전화번호 입력은 필수입니다.")
@Pattern(regexp = "^010\\d{8}$", message = "전화번호는 010으로 시작하며 11자리 숫자여야 합니다.")
private String phoneNumber;

@NotNull(message = "MBTI는 선택 입력값입니다.")
private Mbti mbti;

@NotNull(message = "학번 입력은 필수입니다.")
Expand Down

0 comments on commit 5ff23f8

Please sign in to comment.