Skip to content
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 @@ -41,6 +41,9 @@ public class Facility extends BaseEntity {
@Column(nullable = false)
private String postCode; //우편 번호

@Column
private String imageUrl; //시설 대표 이미지 URL

private String Features; //업장 특징

private String weekdayHours; //주간 영업시간
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ public FacilityDetailRes getFacilityDetail(Long facilityId) {
facility.getWeekdayHours(),
facility.getWeekendHours(),
facility.getHolidayClosedInfo(),
facility.getAccessGuide()
facility.getAccessGuide(),
facility.getImageUrl()
);
}

Expand Down Expand Up @@ -131,7 +132,8 @@ private FacilityRes toFacilityRes(Facility facility) {
facility.getId(),
facility.getName(),
facility.getAddress(),
facility.getPrice() // Facility 엔티티에 price 필드가 있다고 가정
facility.getPrice(),
facility.getImageUrl()
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ public record FacilityDetailRes(
String weekdayHours, //업장 평일 운영시간
String weekendHours, //업장 주말 운영시간
String holidayClosedInfo, //업장 휴무 정보
String accessGuide //오는길 정보



String accessGuide, //오는길 정보
String imageUrl //시설 대표 이미지 URL
) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ public record FacilityRes(
Long id,
String name,
String address,
int price
int price,
String imageUrl
) {
}