Skip to content

Commit 9284033

Browse files
committed
📝 :: Change User -> UserModel
1 parent 1569b4c commit 9284033

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed
Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
package remote.response.student
22

3+
import remote.user.UserModel
34
import java.util.UUID
45

56
data class GetMyInformationResponse(
67
val id: UUID,
78
val currentPoint: Int,
89
val cumulatePoint: Int,
9-
val user: User,
10-
) {
11-
data class User(
12-
val id: UUID,
13-
val name: String,
14-
val profileImage: String?
15-
)
16-
}
10+
val user: UserModel,
11+
)
Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
package remote.response.student
22

3+
import remote.user.UserModel
34
import java.util.UUID
45

56
data class GetStudentPointRankingResponse(
67
val id: UUID,
78
val cumulatePoint: Int,
8-
val user: User,
9-
) {
10-
data class User(
11-
val id: UUID,
12-
val name: String,
13-
val profileImage: String,
14-
)
15-
}
9+
val user: UserModel,
10+
)

0 commit comments

Comments
 (0)