Skip to content

Commit

Permalink
Merge pull request #33 from KORAD1004/feature/my-cource
Browse files Browse the repository at this point in the history
♻️Refactor: 카테 고리 넘겨 주기
  • Loading branch information
Jindongleee authored Oct 5, 2024
2 parents 455fc2f + d7e2d9f commit ec0d391
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 ec0d391

Please sign in to comment.