Skip to content

Commit

Permalink
[Weekly/11] not null 속성 수정 (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daolove0323 authored Nov 15, 2024
1 parent b77fc10 commit cfa7046
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@
@ToString
public class LocationRequest {

@NotNull(message = "위도는 필수값입니다.")
@Min(value = -90, message = "위도는 -90 이상이어야 합니다.")
@Max(value = 90, message = "위도는 90 이하여야 합니다.")
private Double latitude;

@NotNull(message = "경도는 필수값입니다.")
@Min(value = -180, message = "경도는 -180 이상이어야 합니다.")
@Max(value = 180, message = "경도는 180 이하여야 합니다.")
private Double longitude;
Expand Down

0 comments on commit cfa7046

Please sign in to comment.