-
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.
- 래퍼 타입 필드들 기본 타입으로 변경 - 프로필 사진 URL 리스트 필드 추가 - 사용자가 가진 총 화살 수 필드 추가 - 음주 성향, 흡연 성향 필드 추가 - 코드 정렬
- Loading branch information
Showing
1 changed file
with
36 additions
and
20 deletions.
There are no files selected for viewing
56 changes: 36 additions & 20 deletions
56
be/src/main/java/yeonba/be/user/dto/response/UserProfileResponse.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,66 +1,82 @@ | ||
package yeonba.be.user.dto.response; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import java.util.List; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public class UserProfileResponse { | ||
|
||
@Schema( | ||
type = "array", | ||
description = "프로필 사진 URL들") | ||
private List<String> profilePhotosUrls; | ||
|
||
@Schema( | ||
type = "string", | ||
description = "닉네임", | ||
example = "존잘남" | ||
) | ||
example = "존잘남") | ||
private String nickname; | ||
|
||
@Schema( | ||
type = "number", | ||
description = "사용자가 가진 총 화살 수", | ||
example = "10") | ||
private int arrows; | ||
|
||
@Schema( | ||
type = "number", | ||
description = "나이", | ||
example = "23" | ||
) | ||
private Integer age; | ||
example = "23") | ||
private int age; | ||
|
||
@Schema( | ||
type = "number", | ||
description = "키", | ||
example = "177" | ||
) | ||
private Integer height; | ||
example = "177") | ||
private int height; | ||
|
||
@Schema( | ||
type = "string", | ||
description = "활동 지역", | ||
example = "서울시 강남구" | ||
) | ||
example = "서울") | ||
private String activityArea; | ||
|
||
@Schema( | ||
type = "number", | ||
description = "사진 싱크로율", | ||
example = "80" | ||
) | ||
private Integer photoSyncRate; | ||
example = "80") | ||
private double photoSyncRate; | ||
|
||
@Schema( | ||
type = "string", | ||
description = "음주 성향", | ||
example = "가끔") | ||
private String drinkingHabit; | ||
|
||
@Schema( | ||
type = "string", | ||
description = "흡연 성향", | ||
example = "자주") | ||
private String smokingHabit; | ||
|
||
@Schema( | ||
type = "string", | ||
description = "음역대", | ||
example = "저음" | ||
) | ||
example = "저음") | ||
private String vocalRange; | ||
|
||
@Schema( | ||
type = "string", | ||
description = "닮은 동물상", | ||
example = "여우상" | ||
) | ||
example = "여우상") | ||
private String lookAlikeAnimalName; | ||
|
||
@Schema( | ||
type = "boolean", | ||
description = "이전 화살 전송 여부", | ||
example = "false" | ||
) | ||
private Boolean isAlreadySentArrow; | ||
example = "false") | ||
private boolean isAlreadySentArrow; | ||
} |