Skip to content

Commit

Permalink
Merge pull request #328 from Runnect/feature/fix-running-history
Browse files Browse the repository at this point in the history
[FIX] 마이페이지 / 러닝 기록 api responseDTO 수정
  • Loading branch information
unam98 authored Feb 16, 2024
2 parents 2dbb194 + a4125e6 commit 7a295f9
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package com.runnect.runnect.data.dto.response

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

@Serializable
Expand All @@ -8,6 +10,7 @@ data class ResponseGetMyHistory(
val status: Int,
val success: Boolean
)

@Serializable
data class Record(
val courseId: Int,
Expand All @@ -21,15 +24,18 @@ data class Record(
val time: String,
val title: String
)

@Serializable
data class Departure(
val city: String,
val region: String
)

@Serializable
data class RecordUser(
val id: Int
@SerialName("userId") val id: Int
)

@Serializable
data class HistoryData(
val records: List<Record>,
Expand Down

0 comments on commit 7a295f9

Please sign in to comment.