Skip to content

Commit

Permalink
Fix: 러닝 경로 startPoint, endPoint null 체크
Browse files Browse the repository at this point in the history
  • Loading branch information
hee9841 committed Dec 28, 2024
1 parent 409c617 commit 211bf67
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@


import com.dnd.runus.domain.common.CoordinatePoint;
import jakarta.validation.constraints.NotNull;

/**
* 클라이언트와의 러닝 경로 요청/응답 형식
* @param start 시작 위치
* @param end 종료 위치
*/
public record RouteDtoV2(
@NotNull
Point start,
@NotNull
Point end
) {
public record Point(double longitude, double latitude) {
Expand Down

0 comments on commit 211bf67

Please sign in to comment.