Skip to content

Commit

Permalink
fix: 면접시간 응답 dto에 datetime format 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
gorapang committed Dec 21, 2024
1 parent 17f35f1 commit 97cb63e
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.likelion.innerjoin.post.model.dto.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;

Expand All @@ -13,12 +14,16 @@ public class MeetingTimeResponseDTO {
private int allowedNum;
private int reservedNum; // 예약된 사람 수
private List<ApplicantDTO> applicantList; // 예약한 사람 리스트

@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
private LocalDateTime meetingStartTime;

@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
private LocalDateTime meetingEndTime;

@Data
@AllArgsConstructor
public static class ApplicantDTO { // static으로 선언
public static class ApplicantDTO {
private Long applicantId;
private String name;
private String studentNumber;
Expand Down

0 comments on commit 97cb63e

Please sign in to comment.