Skip to content

Commit

Permalink
refactor: UserResponse 매퍼 사용하도록 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
huncozyboy committed Nov 22, 2024
1 parent 4b07c39 commit 07017c8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package leets.weeth.domain.user.application.mapper;

import leets.weeth.domain.user.application.dto.response.UserResponseDto.SummaryResponse;
import leets.weeth.domain.user.application.dto.response.UserResponseDto.UserResponse;
import leets.weeth.domain.user.domain.entity.User;
import leets.weeth.domain.user.domain.entity.enums.Department;
import org.mapstruct.*;
Expand Down Expand Up @@ -35,7 +36,7 @@ public interface UserMapper {
@Mappings({
// 상세 데이터 매핑
})
Response toResponse(User user);
UserResponse toUserResponse(User user);
default String toString(Department department) {
return department.getValue();
}
Expand Down

0 comments on commit 07017c8

Please sign in to comment.