-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
425 additions
and
43 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
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
19 changes: 19 additions & 0 deletions
19
...c/main/java/com/woowacourse/friendogly/footprint/dto/request/UpdateWalkStatusRequest.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,19 @@ | ||
package com.woowacourse.friendogly.footprint.dto.request; | ||
|
||
import jakarta.validation.constraints.DecimalMax; | ||
import jakarta.validation.constraints.DecimalMin; | ||
import jakarta.validation.constraints.NotNull; | ||
|
||
public record UpdateWalkStatusRequest( | ||
|
||
@NotNull | ||
@DecimalMin(value = "-90.0", message = "위도는 -90도 이상 90도 이하로 입력해 주세요.") | ||
@DecimalMax(value = "90.0", message = "위도는 -90도 이상 90도 이하로 입력해 주세요.") | ||
double latitude, | ||
|
||
@NotNull | ||
@DecimalMin(value = "-180.0", message = "경도는 -180도 이상 180도 이하로 입력해 주세요.") | ||
@DecimalMax(value = "180.0", message = "경도는 -180도 이상 180도 이하로 입력해 주세요.") | ||
double longitude | ||
) { | ||
} |
7 changes: 7 additions & 0 deletions
7
...main/java/com/woowacourse/friendogly/footprint/dto/response/UpdateWalkStatusResponse.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,7 @@ | ||
package com.woowacourse.friendogly.footprint.dto.response; | ||
|
||
import com.woowacourse.friendogly.footprint.domain.WalkStatus; | ||
|
||
public record UpdateWalkStatusResponse(WalkStatus walkStatus) { | ||
|
||
} |
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
Oops, something went wrong.