Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 타입 수정 #24

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/main/java/com/whyranoid/walkie/dto/WalkingDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.util.Date;

@Getter
@NoArgsConstructor(access = AccessLevel.PROTECTED)
public class WalkingDto {
Expand All @@ -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;
Expand All @@ -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;
Expand Down