Skip to content

Commit

Permalink
feat: 클래스 조회시 누적 수강인원 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yubin-im committed Jul 5, 2024
1 parent 1d3a7f0 commit 32a0a6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ public class FullLessonResDto {
private String title;
private int price;
private String hostName;
private int applicantSum;
}
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ public List<FullLessonResDto> searchLessonList(List<LessonEntity> lessonlist){
.title(lesson.getTitle())
.price(lesson.getPrice())
.hostName(lesson.getHostEntity().getUserEntity().getUsername())
.applicantSum(lesson.getApplicantSum())
.build();
return fullLessonResDto;
}).collect(Collectors.toList());
Expand Down

0 comments on commit 32a0a6f

Please sign in to comment.