-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
db6d3f9
commit 3f89046
Showing
2 changed files
with
28 additions
and
14 deletions.
There are no files selected for viewing
18 changes: 11 additions & 7 deletions
18
src/main/java/com/gdschongik/gdsc/domain/member/dto/request/MemberQueryRequest.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,10 +1,14 @@ | ||
package com.gdschongik.gdsc.domain.member.dto.request; | ||
|
||
import static com.gdschongik.gdsc.global.common.constant.RegexConstant.*; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
|
||
public record MemberQueryRequest( | ||
String studentId, | ||
String name, | ||
String phone, | ||
String department, | ||
String email, | ||
String discordUsername, | ||
String discordNickname) {} | ||
@Schema(description = "학번", pattern = STUDENT_ID) String studentId, | ||
@Schema(description = "이름") String name, | ||
@Schema(description = "전화번호", pattern = PHONE) String phone, | ||
@Schema(description = "학과") String department, | ||
@Schema(description = "이메일") String email, | ||
@Schema(description = "discord username") String discordUsername, | ||
@Schema(description = "커뮤니티 닉네임", pattern = NICKNAME) String discordNickname) {} |
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