Skip to content

Commit

Permalink
[FIx] ReminderSimpleDto alarm 값 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
eunki96 authored Dec 18, 2023
1 parent dc455fc commit b05ad4f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import lombok.Getter;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Getter
@AllArgsConstructor
Expand All @@ -15,6 +16,7 @@ public class ReminderSimpleDto {
private String reminderTitle;
private LocalDate reminderDate;
private boolean isAlarmSet;
private LocalDateTime alarmTime;
private Long userNo;
private FriendSimpleDto friendSimpleDto;

Expand All @@ -24,6 +26,7 @@ public ReminderSimpleDto(Reminder reminder, FriendSimpleDto dto){
this.reminderTitle = reminder.getReminderTitle();
this.reminderDate = reminder.getReminderDate();
this.isAlarmSet = reminder.getIsAlarmSet();
this.alarmTime = reminder.getAlarmTime();
this.userNo = reminder.getUser().getUserNo();
this.friendSimpleDto = dto;
}
Expand Down

0 comments on commit b05ad4f

Please sign in to comment.