From b65871992f76dc54bea6a14542e4ffbb9852ba80 Mon Sep 17 00:00:00 2001 From: bngsh Date: Thu, 31 Aug 2023 21:24:28 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=83=80=EC=9E=85=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/whyranoid/walkie/dto/WalkingDto.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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;