-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#188] rename: 공연 관련 dto 패키지 정리 및 파일 이름 수정
- Loading branch information
1 parent
c31fc31
commit ba2127a
Showing
17 changed files
with
120 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
...in/java/com/beat/domain/performance/application/dto/BookingPerformanceDetailSchedule.java
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
src/main/java/com/beat/domain/performance/application/dto/PerformanceDetailCast.java
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
src/main/java/com/beat/domain/performance/application/dto/PerformanceDetailImage.java
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
src/main/java/com/beat/domain/performance/application/dto/PerformanceDetailSchedule.java
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
src/main/java/com/beat/domain/performance/application/dto/PerformanceDetailStaff.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...ce/application/dto/bookingPerformanceDetail/BookingPerformanceDetailScheduleResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.beat.domain.performance.application.dto.bookingPerformanceDetail; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
public record BookingPerformanceDetailScheduleResponse( | ||
Long scheduleId, | ||
LocalDateTime performanceDate, | ||
String scheduleNumber, | ||
int availableTicketCount, | ||
boolean isBooking, | ||
int dueDate | ||
) { | ||
public static BookingPerformanceDetailScheduleResponse of(Long scheduleId, LocalDateTime performanceDate, String scheduleNumber, int availableTicketCount, boolean isBooking, int dueDate) { | ||
return new BookingPerformanceDetailScheduleResponse(scheduleId, performanceDate, scheduleNumber, availableTicketCount, isBooking, dueDate); | ||
} | ||
|
||
} |
8 changes: 4 additions & 4 deletions
8
...plication/dto/MakerPerformanceDetail.java → ...mance/MakerPerformanceDetailResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
package com.beat.domain.performance.application.dto; | ||
package com.beat.domain.performance.application.dto.makerPerformance; | ||
|
||
public record MakerPerformanceDetail( | ||
public record MakerPerformanceDetailResponse( | ||
Long performanceId, | ||
String genre, | ||
String performanceTitle, | ||
String posterImage, | ||
String performancePeriod, | ||
int minDueDate | ||
) { | ||
public static MakerPerformanceDetail of( | ||
public static MakerPerformanceDetailResponse of( | ||
Long performanceId, | ||
String genre, | ||
String performanceTitle, | ||
String posterImage, | ||
String performancePeriod, | ||
int minDueDate) { // minDueDate 매개변수 추가 | ||
return new MakerPerformanceDetail(performanceId, genre, performanceTitle, posterImage, performancePeriod, minDueDate); | ||
return new MakerPerformanceDetailResponse(performanceId, genre, performanceTitle, posterImage, performancePeriod, minDueDate); | ||
} | ||
} |
6 changes: 3 additions & 3 deletions
6
...ication/dto/MakerPerformanceResponse.java → ...Performance/MakerPerformanceResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
package com.beat.domain.performance.application.dto; | ||
package com.beat.domain.performance.application.dto.makerPerformance; | ||
|
||
import java.util.List; | ||
|
||
public record MakerPerformanceResponse( | ||
Long userId, | ||
List<MakerPerformanceDetail> performances | ||
List<MakerPerformanceDetailResponse> performances | ||
) { | ||
public static MakerPerformanceResponse of( | ||
Long userId, | ||
List<MakerPerformanceDetail> performances) { | ||
List<MakerPerformanceDetailResponse> performances) { | ||
return new MakerPerformanceResponse(userId, performances); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...t/domain/performance/application/dto/performanceDetail/PerformanceDetailCastResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.beat.domain.performance.application.dto.performanceDetail; | ||
|
||
public record PerformanceDetailCastResponse( | ||
Long castId, | ||
String castName, | ||
String castRole, | ||
String castPhoto | ||
) { | ||
public static PerformanceDetailCastResponse of(Long castId, String castName, String castRole, String castPhoto) { | ||
return new PerformanceDetailCastResponse(castId, castName, castRole, castPhoto); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
.../domain/performance/application/dto/performanceDetail/PerformanceDetailImageResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.beat.domain.performance.application.dto.performanceDetail; | ||
|
||
public record PerformanceDetailImageResponse( | ||
Long performanceImageId, | ||
String performanceImage | ||
) { | ||
public static PerformanceDetailImageResponse of(Long performanceImageId, String performanceImage) { | ||
return new PerformanceDetailImageResponse(performanceImageId, performanceImage); | ||
} | ||
} |
Oops, something went wrong.