diff --git a/src/main/java/com/whyranoid/walkie/dto/WalkingDto.java b/src/main/java/com/whyranoid/walkie/dto/WalkingDto.java index e41b635..1a81ff8 100644 --- a/src/main/java/com/whyranoid/walkie/dto/WalkingDto.java +++ b/src/main/java/com/whyranoid/walkie/dto/WalkingDto.java @@ -6,8 +6,6 @@ import lombok.Getter; import lombok.NoArgsConstructor; -import java.util.Date; - @Getter @NoArgsConstructor(access = AccessLevel.PROTECTED) public class WalkingDto { @@ -16,7 +14,7 @@ public class WalkingDto { private Long walkieId; @Schema(description = "요청 필수 파라미터 - 운동 시작 시간", requiredMode = Schema.RequiredMode.REQUIRED, example = "2023-07-31T15:08:31.689Z") - private Date startTime; + private String startTime; @Schema(description = "응답 파라미터 - 생성된 기록의 아이디", example = "15") private Long historyId; @@ -28,7 +26,7 @@ public class WalkingDto { // private String authId; @Builder - public WalkingDto(Long walkieId, Date startTime, Long historyId, Character newStatus, String authId, Long likerId) { + public WalkingDto(Long walkieId, String startTime, Long historyId, Character newStatus, String authId, Long likerId) { this.walkieId = walkieId; this.startTime = startTime; this.historyId = historyId;