-
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 #86 from YAPP-Github/feat/ISSUE-85
add: onBoarding responseDto to post onBoarding API
- Loading branch information
Showing
7 changed files
with
66 additions
and
11 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
src/main/java/com/fullcar/core/exception/CustomExceptionHandler.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
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
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
33 changes: 33 additions & 0 deletions
33
src/main/java/com/fullcar/member/presentation/member/dto/response/OnBoardingResponseDto.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,33 @@ | ||
package com.fullcar.member.presentation.member.dto.response; | ||
|
||
import com.fullcar.member.domain.member.Gender; | ||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.*; | ||
|
||
import java.math.BigDecimal; | ||
|
||
@Getter | ||
@Builder | ||
@AllArgsConstructor(access = AccessLevel.PROTECTED) | ||
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
@Schema(description = "온보딩 정보 응답 모델") | ||
public class OnBoardingResponseDto { | ||
|
||
@Schema(description = "회사명", example = "구글 코리아") | ||
private String companyName; | ||
|
||
@Schema(description = "위도", example = "46.652719") | ||
private BigDecimal latitude; | ||
|
||
@Schema(description = "경도", example = "71.530045") | ||
private BigDecimal longitude; | ||
|
||
@Schema(description = "회사 이메일", example = "[email protected]") | ||
private String email; | ||
|
||
@Schema(description = "닉네임", example = "피곤한 물개") | ||
private String nickname; | ||
|
||
@Schema(description = "성별", example = "NONE") | ||
private Gender gender; | ||
} |