Skip to content

Commit

Permalink
feat/#8: 내 취미 조회 dto, domain model 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
kangyein9892 committed Nov 15, 2024
1 parent eedd71c commit 639101e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package org.sopt.and.data.dto.response

import kotlinx.serialization.Serializable
import org.sopt.and.domain.model.MyHobbyResponse

@Serializable
data class MyHobbyResponseDto(
val hobby: String
) {
fun toDomainModel(): MyHobbyResponse {
return MyHobbyResponse(
hobby = hobby
)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.sopt.and.domain.model

data class MyHobbyResponse(
val hobby: String
)

0 comments on commit 639101e

Please sign in to comment.