Skip to content
Merged
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 @@ -16,7 +16,8 @@ public record UserNoteGetResponse(
LimjangPriceType priceType,
String buildingName,
List<String> images,
String address,
String roadAddress,
String addressDetail,
String price,
String monthlyRent,
String updatedAt,
Expand All @@ -31,7 +32,8 @@ public static UserNoteGetResponse of(boolean isShared, Limjang note) {
note.getPriceType(),
note.getNickname(),
note.getImageList().stream().map(Image::getImageUrl).limit(3).toList(),
note.getAddressEntity().getRoadAddress() + " " + note.getAddressEntity().getAddressDetail(),
note.getAddressEntity().getRoadAddress(),
note.getAddressEntity().getAddressDetail(),
note.getLimjangPrice().getPrice(note.getPriceType(), note.getPurpose()),
note.getPriceType() == LimjangPriceType.MONTHLY_RENT ? note.getLimjangPrice().getMonthlyRent() : null,
note.getUpdatedAt().format(DateTimeFormatter.ofPattern("yy.MM.dd")),
Expand Down