Skip to content

Commit

Permalink
update :: request -> webRequest
Browse files Browse the repository at this point in the history
Co-authored-by: 김희망 <105429536+esperar@users.noreply.github.com>
  • Loading branch information
ani2689 and esperar authored Oct 20, 2023
1 parent 0fe3ca5 commit d172403
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ class LectureRequestMapperImpl : LectureRequestMapper{
* Lecture 개설 Web Request 를 애플리케이션 영역에서 사용될 Dto 로 매핑합니다.
* @param CreateLectureWebRequest
*/
override fun createLectureWebRequestToDto(request: CreateLectureWebRequest) = CreateLectureRequest(
name = request.name,
content = request.content,
startDate = request.startDate,
endDate = request.endDate,
completeDate = request.completeDate,
lectureType = request.lectureType,
credit = request.credit,
maxRegisteredUser = request.maxRegisteredUser
override fun createLectureWebRequestToDto(webRequest: CreateLectureWebRequest) = CreateLectureRequest(
name = webRequest.name,
content = webRequest.content,
startDate = webRequest.startDate,
endDate = webRequest.endDate,
completeDate = webRequest.completeDate,
lectureType = webRequest.lectureType,
credit = webRequest.credit,
maxRegisteredUser = webRequest.maxRegisteredUser
)
}

0 comments on commit d172403

Please sign in to comment.