We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e632a9b commit 1258cc6Copy full SHA for 1258cc6
src/main/kotlin/andreas311/miso/domain/user/adapter/input/mapper/UserDataMapper.kt
@@ -1,6 +1,8 @@
1
package andreas311.miso.domain.user.adapter.input.mapper
2
3
+import andreas311.miso.domain.user.adapter.input.data.response.PointResponse
4
import andreas311.miso.domain.user.adapter.input.data.response.UserInfoResponse
5
+import andreas311.miso.domain.user.application.port.input.dto.PointDto
6
import andreas311.miso.domain.user.application.port.input.dto.UserInfoDto
7
import org.springframework.stereotype.Component
8
@@ -12,4 +14,9 @@ class UserDataMapper {
12
14
email = userInfoDto.email,
13
15
role = userInfoDto.role
16
)
17
+
18
+ fun toResponse(pointDto: PointDto): PointResponse =
19
+ PointResponse(
20
+ point = pointDto.point
21
+ )
22
}
0 commit comments