Skip to content

Commit

Permalink
Merge pull request #83 from HanaFun/testing
Browse files Browse the repository at this point in the history
fix: NoArgsConstructor
  • Loading branch information
doSeung11 authored Jul 5, 2024
2 parents 656916e + 71badd7 commit be11a96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.hanaro.hanafun.common.dto.ApiResponse;
import com.hanaro.hanafun.lesson.dto.request.CreateLessonReqDto;
import com.hanaro.hanafun.lesson.dto.request.OpenedLessonsReqDto;
import com.hanaro.hanafun.lesson.dto.response.FullLessonResDto;
import com.hanaro.hanafun.lesson.dto.response.LessonInfoResDto;
import com.hanaro.hanafun.lesson.dto.response.OpenedLessonsResDto;
Expand Down Expand Up @@ -61,6 +60,7 @@ public ResponseEntity<String> uploadImage(@RequestParam("file") MultipartFile fi
// 클래스 등록하기
@PostMapping("/lesson/create")
public void createLesson(@AuthenticationPrincipal Long userId, @RequestBody CreateLessonReqDto createLessonReqDto) {
System.out.println("들어왔니?");
lessonService.createLesson(userId, createLessonReqDto);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CreateLessonDateReqDto {
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate date;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CreateLessonReqDto {
private Long categoryId;
private String title;
Expand Down

0 comments on commit be11a96

Please sign in to comment.