Skip to content

Commit

Permalink
update :: mapper 주석
Browse files Browse the repository at this point in the history
  • Loading branch information
ani2689 committed Nov 14, 2023
1 parent 6c54c42 commit ef1dafa
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import team.msg.domain.post.presentation.web.CreatePostWebRequest

@Component
class PostRequestMapperImpl : PostRequestMapper {
/**
* post 생성 Web Request 를 애플리케이션 영역에서 사용될 Dto 로 매핑합니다.
*/
override fun createPostWebRequestToDto(webRequest: CreatePostWebRequest, feedType: FeedType) = CreatePostRequest(
title = webRequest.title,
content = webRequest.content,
Expand Down

0 comments on commit ef1dafa

Please sign in to comment.