diff --git a/src/main/java/com/jangburich/domain/payment/dto/response/ReadyResponse.java b/src/main/java/com/jangburich/domain/payment/dto/response/ReadyResponse.java index 181dbb5..17540d2 100644 --- a/src/main/java/com/jangburich/domain/payment/dto/response/ReadyResponse.java +++ b/src/main/java/com/jangburich/domain/payment/dto/response/ReadyResponse.java @@ -4,6 +4,8 @@ public record ReadyResponse( String tid, String next_redirect_pc_url, String android_app_scheme, - String ios_app_scheme + String ios_app_scheme, + String next_redirect_app_url, + String next_redirect_mobile_url ) { } diff --git a/src/main/java/com/jangburich/domain/store/dto/response/SearchStoresResponse.java b/src/main/java/com/jangburich/domain/store/dto/response/SearchStoresResponse.java index acf6979..2e8b2dd 100644 --- a/src/main/java/com/jangburich/domain/store/dto/response/SearchStoresResponse.java +++ b/src/main/java/com/jangburich/domain/store/dto/response/SearchStoresResponse.java @@ -2,37 +2,40 @@ import com.jangburich.domain.store.domain.Category; import com.querydsl.core.annotations.QueryProjection; + import lombok.Builder; @Builder public record SearchStoresResponse( - Long storeId, - String name, - Double latitude, - Double longitude, - Boolean isFavorite, - Category category, - Double distance, - String businessStatus, - String closeTime, - String phoneNumber, - String imageUrl + Long storeId, + String name, + Double latitude, + Double longitude, + Boolean isFavorite, + String category, + Double distance, + String businessStatus, + String closeTime, + String phoneNumber, + String imageUrl ) { - @QueryProjection - public SearchStoresResponse(Long storeId, String name, Double latitude, Double longitude, Boolean isFavorite, - Category category, Double distance, String businessStatus, String closeTime, - String phoneNumber, String imageUrl) { - this.storeId = storeId; - this.name = name; - this.latitude = latitude; - this.longitude = longitude; - this.isFavorite = isFavorite; - this.category = category; - this.distance = distance; - this.businessStatus = businessStatus; - this.closeTime = closeTime; - this.phoneNumber = phoneNumber; - this.imageUrl = imageUrl; - } + @QueryProjection + public SearchStoresResponse(Long storeId, String name, Double latitude, Double longitude, Boolean isFavorite, + Category category, Double distance, String businessStatus, String closeTime, + String phoneNumber, String imageUrl) { + this( + storeId, + name, + latitude, + longitude, + isFavorite, + category.getDisplayName(), + distance, + businessStatus, + closeTime, + phoneNumber, + imageUrl + ); + } } \ No newline at end of file