-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
src/main/java/com/dnd/gongmuin/member/dto/request/AdditionalInfoRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
package com.dnd.gongmuin.member.dto.request; | ||
|
||
import jakarta.validation.constraints.NotBlank; | ||
import jakarta.validation.constraints.Size; | ||
|
||
public record AdditionalInfoRequest( | ||
|
||
@NotBlank(message = "공무원 이메일은 필수 입력 항목입니다.") | ||
String officialEmail, | ||
@NotBlank(message = "닉네임은 필수 입력 항목입니다.") | ||
@Size(min = 2, max = 12, message = "닉네임은 최소 2자리 이상 최대 12자 이하입니다.") | ||
String nickname, | ||
@NotBlank(message = "직군은 필수 입력 항목입니다.") | ||
String jobGroup, | ||
@NotBlank(message = "직렬은 필수 입력 항목입니다.") | ||
String jobCategory | ||
) { | ||
} |
5 changes: 5 additions & 0 deletions
5
src/main/java/com/dnd/gongmuin/member/dto/request/ValidateNickNameRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters