-
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.
Merge pull request #13 from Kusitms-Hackathon-B/jaehyeon
Feat: 로그인 회원가입 시 request type 을 body 로 수정
- Loading branch information
Showing
5 changed files
with
129 additions
and
10 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
13 changes: 13 additions & 0 deletions
13
src/main/java/com/example/kusitmshackthon/domain/member/dto/request/SignInRequest.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 com.example.kusitmshackthon.domain.member.dto.request; | ||
|
||
import lombok.*; | ||
|
||
@Getter | ||
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
@Builder | ||
@AllArgsConstructor | ||
@ToString | ||
public class SignInRequest { | ||
String email; | ||
String fcmToken; | ||
} |
15 changes: 15 additions & 0 deletions
15
src/main/java/com/example/kusitmshackthon/domain/member/dto/request/SignUpRequest.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,15 @@ | ||
package com.example.kusitmshackthon.domain.member.dto.request; | ||
|
||
import lombok.*; | ||
|
||
@Getter | ||
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
@Builder | ||
@AllArgsConstructor | ||
@ToString | ||
public class SignUpRequest { | ||
String email; | ||
String nickName; | ||
int age; | ||
String fcmToken; | ||
} |
17 changes: 17 additions & 0 deletions
17
...a/com/example/kusitmshackthon/domain/member/dto/response/GetPreviousDietInfoResponse.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,17 @@ | ||
package com.example.kusitmshackthon.domain.member.dto.response; | ||
|
||
import lombok.*; | ||
|
||
@Getter | ||
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
@Builder | ||
@AllArgsConstructor | ||
@ToString | ||
public class GetPreviousDietInfoResponse { | ||
Float carbohydrate; // 탄수화물 | ||
Float protein; // 단백질 | ||
Float fat;// 지방 | ||
Float sugar;// 설탕 | ||
Float cholesterol;// 콜레스테롤 | ||
Float energy;// 열량 | ||
} |
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