Skip to content

Commit

Permalink
♻️Refactor: 카테 고리 넘겨 주기
Browse files Browse the repository at this point in the history
  • Loading branch information
Jindongleee committed Oct 5, 2024
1 parent 455fc2f commit d7e2d9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ public class CourseInfoDto {

private String longitude;

private String category;


public static CourseInfoDto from(CoursePlace coursePlace){

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public List<CourseInfoDto> getCoursePlace(Long id){
courseInfoDto.setImage(hotspot.getImage());
courseInfoDto.setLatitude(hotspot.getLatitude());
courseInfoDto.setLongitude(hotspot.getLongitude());
courseInfoDto.setCategory(hotspot.getCategory().getCategoryName());
courseInfoDtoList.add(courseInfoDto);
}
}
Expand Down

0 comments on commit d7e2d9f

Please sign in to comment.