-
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.
[FEAT] #82 - 회원가입 API 구현
- Loading branch information
Showing
6 changed files
with
126 additions
and
2 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
20 changes: 20 additions & 0 deletions
20
src/main/java/org/sopt/seonyakServer/domain/member/dto/MemberJoinRequest.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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package org.sopt.seonyakServer.domain.member.dto; | ||
|
||
import java.util.List; | ||
|
||
public record MemberJoinRequest( | ||
String role, | ||
Boolean isSubscribed, | ||
String nickname, | ||
String image, | ||
String phoneNumber, | ||
String univName, | ||
String field, | ||
List<String> departmentList, | ||
String businessCard, | ||
String company, | ||
String position, | ||
String detailPosition, | ||
String level | ||
) { | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/java/org/sopt/seonyakServer/domain/member/dto/MemberJoinResponse.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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.sopt.seonyakServer.domain.member.dto; | ||
|
||
public record MemberJoinResponse( | ||
String role | ||
) { | ||
public static MemberJoinResponse of(final String role) { | ||
return new MemberJoinResponse(role); | ||
} | ||
} |
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
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
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