-
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.
* docs: 어드민 controller 문서 작업 * docs: request dto 문서화
- Loading branch information
1 parent
cc99a4c
commit 49a9575
Showing
3 changed files
with
34 additions
and
14 deletions.
There are no files selected for viewing
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
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