Skip to content

Commit

Permalink
[PC-000] fix: ProfileBasicUpdateRequest 제약 조건 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Lujaec committed Jan 30, 2025
1 parent 2990761 commit 2fe43bd
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ public record ProfileBasicUpdateRequest(@NotBlank(message = "닉네임은 비어

@NotBlank(message = "위치는 비어있을 수 없습니다.") String location,

String smokingStatus, String snsActivityLevel,
@NotBlank(message = "흡연 정보는 비어있을 수 없습니다")
String smokingStatus,

@NotBlank(message = "SNS 활동 정보는 비어있을 수 없습니다.")
String snsActivityLevel,

@Min(value = 1, message = "몸무게는 최소 1kg 이상이어야 합니다.")
Integer weight,
Expand Down

0 comments on commit 2fe43bd

Please sign in to comment.