Skip to content

Commit

Permalink
#7 Feature: ResponseHobbyDto
Browse files Browse the repository at this point in the history
  • Loading branch information
0se0 committed Nov 14, 2024
1 parent ba387b5 commit 95d104a
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package org.sopt.and.network.response

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class ResponseHobbyDto(
@SerialName("result")
val result: HobbyResult? = null,
@SerialName("code")
val code: String? = null
)

@Serializable
data class HobbyResult(
@SerialName("hobby")
val hobby: String
)

0 comments on commit 95d104a

Please sign in to comment.