forked from KakaoTech-BootCamp-Team-2/Kaboo-Auth
-
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.
Feat: /api/auth/member API 관련 DTO 내용 추가
Related to: KakaoTech-BootCamp-Team-2#2
- Loading branch information
1 parent
313acd8
commit 3a59994
Showing
6 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
src/main/java/kaboo/kaboo_auth/domain/dto/request/MemberInfoUpdateRequest.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,13 @@ | ||
package kaboo.kaboo_auth.domain.dto.request; | ||
|
||
import kaboo.kaboo_auth.domain.Course; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class MemberInfoUpdateRequest { | ||
private String koreaName; | ||
private String englishName; | ||
private int classNum; | ||
private Course course; | ||
|
||
} |
8 changes: 8 additions & 0 deletions
8
src/main/java/kaboo/kaboo_auth/domain/dto/request/MemberIntroduceUpdateRequest.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,8 @@ | ||
package kaboo.kaboo_auth.domain.dto.request; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public class MemberIntroduceUpdateRequest { | ||
String introduce; | ||
} |
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
5 changes: 5 additions & 0 deletions
5
src/main/java/kaboo/kaboo_auth/domain/dto/response/MemberIntroduceResponse.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,15 @@ | ||
package kaboo.kaboo_auth.domain.dto.response; | ||
|
||
import kaboo.kaboo_auth.domain.entity.Member; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public class MemberIntroduceResponse { | ||
private String introduce; | ||
|
||
public MemberIntroduceResponse(Member member) { | ||
this.introduce = member.getIntroduce(); | ||
} | ||
} |
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