-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #276 from TeamDATEROAD/feat-user-property
[feat] User Property 트래킹 코드 심기
- Loading branch information
Showing
31 changed files
with
149 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...src/main/java/org/sopt/dateroad/data/dataremote/model/response/ResponseEnrollCourseDto.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package org.sopt.dateroad.data.dataremote.model.response | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class ResponseEnrollCourseDto( | ||
@SerialName("userPoint") | ||
val userPoint: Int, | ||
@SerialName("userCourseCount") | ||
val userCourseCount: Long | ||
) |
10 changes: 10 additions & 0 deletions
10
...c/main/java/org/sopt/dateroad/data/dataremote/model/response/ResponseEnrollTimelineDto.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package org.sopt.dateroad.data.dataremote.model.response | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class ResponseEnrollTimelineDto( | ||
@SerialName("dateScheduleNum") | ||
val dateScheduleNum: Long | ||
) |
14 changes: 14 additions & 0 deletions
14
...src/main/java/org/sopt/dateroad/data/dataremote/model/response/ResponseUserUsePointDto.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.sopt.dateroad.data.dataremote.model.response | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class ResponseUserUsePointDto( | ||
@SerialName("userPoint") | ||
val userPoint: Int, | ||
@SerialName("userFreeRemained") | ||
val userFreeRemained: Int, | ||
@SerialName("userPurchaseCount") | ||
val userPurchaseCount: Long | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
app/src/main/java/org/sopt/dateroad/data/mapper/todomain/ResponseEnrollCourseDtoMapper.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.sopt.dateroad.data.mapper.todomain | ||
|
||
import org.sopt.dateroad.data.dataremote.model.response.ResponseEnrollCourseDto | ||
import org.sopt.dateroad.domain.model.EnrollCourseResult | ||
|
||
fun ResponseEnrollCourseDto.toDomain(): EnrollCourseResult = EnrollCourseResult( | ||
userPoint = this.userPoint, | ||
userCourseCount = this.userCourseCount | ||
) |
8 changes: 8 additions & 0 deletions
8
app/src/main/java/org/sopt/dateroad/data/mapper/todomain/ResponseEnrollTimelineDtoMapper.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org.sopt.dateroad.data.mapper.todomain | ||
|
||
import org.sopt.dateroad.data.dataremote.model.response.ResponseEnrollTimelineDto | ||
import org.sopt.dateroad.domain.model.EnrollTimelineResult | ||
|
||
fun ResponseEnrollTimelineDto.toDomain(): EnrollTimelineResult = EnrollTimelineResult( | ||
dateScheduleNum = this.dateScheduleNum | ||
) |
10 changes: 10 additions & 0 deletions
10
app/src/main/java/org/sopt/dateroad/data/mapper/todomain/ResponseUserUsePointDtoMapper.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package org.sopt.dateroad.data.mapper.todomain | ||
|
||
import org.sopt.dateroad.data.dataremote.model.response.ResponseUserUsePointDto | ||
import org.sopt.dateroad.domain.model.PointUseResult | ||
|
||
fun ResponseUserUsePointDto.toDomain(): PointUseResult = PointUseResult( | ||
userPoint = this.userPoint, | ||
userFreeRemained = this.userFreeRemained, | ||
userPurchaseCount = this.userPurchaseCount | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
app/src/main/java/org/sopt/dateroad/domain/model/EnrollCourseResult.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package org.sopt.dateroad.domain.model | ||
|
||
data class EnrollCourseResult( | ||
val userPoint: Int, | ||
val userCourseCount: Long | ||
) |
5 changes: 5 additions & 0 deletions
5
app/src/main/java/org/sopt/dateroad/domain/model/EnrollTimelineResult.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.sopt.dateroad.domain.model | ||
|
||
data class EnrollTimelineResult( | ||
val dateScheduleNum: Long | ||
) |
8 changes: 8 additions & 0 deletions
8
app/src/main/java/org/sopt/dateroad/domain/model/PointUseResult.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org.sopt.dateroad.domain.model | ||
|
||
data class PointUseResult( | ||
val userPoint: Int, | ||
val userFreeRemained: Int, | ||
val userPurchaseCount: Long | ||
|
||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.