Skip to content

Commit

Permalink
[#172] feat(HomePromotionDetail): 캐러셀 response에 필드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hyerinhwang-sailin committed Aug 16, 2024
1 parent 94bf32b commit 51aae71
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
public record HomePromotionDetail(
Long promotionId,
String promotionPhoto,
Long performanceId
Long performanceId,
String redirectUrl,
boolean isExternal
) {
public static HomePromotionDetail of(Long promotionId, String promotionPhoto, Long performanceId) {
return new HomePromotionDetail(promotionId, promotionPhoto, performanceId);
public static HomePromotionDetail of(Long promotionId, String promotionPhoto, Long performanceId, String redirectUrl, boolean isExternal) {
return new HomePromotionDetail(promotionId, promotionPhoto, performanceId, redirectUrl, isExternal);
}
}

0 comments on commit 51aae71

Please sign in to comment.