Skip to content

Commit

Permalink
refactor: 공연 알림 목록 조회 시 showId 필드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
GaBaljaintheroom committed Nov 11, 2024
1 parent 4999570 commit 2d3e995
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@Builder
public record ShowAlarmPaginationApiParam(
UUID id,
UUID showId,
String title,
String content,
LocalDateTime createAt
Expand All @@ -16,6 +17,7 @@ public record ShowAlarmPaginationApiParam(
public static ShowAlarmPaginationApiParam from(ShowAlarmPaginationServiceParam param) {
return ShowAlarmPaginationApiParam.builder()
.id(param.id())
.showId(param.showId())
.title(param.title())
.content(param.content())
.createAt(param.createAt())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@Builder
public record ShowAlarmPaginationServiceParam(
UUID id,
UUID showId,
String title,
String content,
LocalDateTime createAt
Expand All @@ -16,6 +17,7 @@ public record ShowAlarmPaginationServiceParam(
public static ShowAlarmPaginationServiceParam from(ShowAlarmDomainResponse response) {
return ShowAlarmPaginationServiceParam.builder()
.id(response.id())
.showId(response.showId())
.title(response.title())
.content(response.content())
.createAt(response.createAt())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

public record ShowAlarmDomainResponse(
UUID id,
UUID showId,
String title,
String content,
LocalDateTime createAt,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public ShowAlarmPaginationDomainResponse findAllWithCursorPagination(
Projections.constructor(
ShowAlarmDomainResponse.class,
showAlarm.id,
showAlarm.showId,
showAlarm.title,
showAlarm.content,
showAlarm.createdAt,
Expand Down

0 comments on commit 2d3e995

Please sign in to comment.