Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #184

Merged
merged 2 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
}
Loading