-
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 branch 'main' of https://github.com/Togedy/Togedy_Android into …
…feat/#30-univ-schedule
- Loading branch information
Showing
74 changed files
with
1,984 additions
and
533 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
app/src/main/java/com/example/togedy_android/data/mapper/todata/planner/DateRequestMapper.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 com.example.togedy_android.data.mapper.todata.planner | ||
|
||
import com.example.togedy_android.data.remote.model.planner.DateRequestDto | ||
import com.example.togedy_android.domain.model.planner.Date | ||
|
||
fun Date.toData() : DateRequestDto = DateRequestDto( | ||
date = this.date | ||
) |
9 changes: 9 additions & 0 deletions
9
...main/java/com/example/togedy_android/data/mapper/todata/planner/StudyGoalRequestMapper.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 com.example.togedy_android.data.mapper.todata.planner | ||
|
||
import com.example.togedy_android.data.remote.model.planner.request.StudyGoalRequestDto | ||
import com.example.togedy_android.domain.model.planner.NewStudyGoal | ||
|
||
fun NewStudyGoal.toData(): StudyGoalRequestDto = StudyGoalRequestDto( | ||
date = this.date, | ||
targetTime = this.targetTime, | ||
) |
10 changes: 10 additions & 0 deletions
10
...main/java/com/example/togedy_android/data/mapper/todata/planner/StudyPlanRequestMapper.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 com.example.togedy_android.data.mapper.todata.planner | ||
|
||
import com.example.togedy_android.data.remote.model.planner.request.StudyPlanRequestDto | ||
import com.example.togedy_android.domain.model.planner.NewStudyPlan | ||
|
||
fun NewStudyPlan.toData(): StudyPlanRequestDto = StudyPlanRequestDto( | ||
name = this.name, | ||
date = this.date, | ||
studyTagId = this.studyTagId, | ||
) |
9 changes: 9 additions & 0 deletions
9
.../main/java/com/example/togedy_android/data/mapper/todata/planner/StudyTagRequestMapper.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 com.example.togedy_android.data.mapper.todata.planner | ||
|
||
import com.example.togedy_android.data.remote.model.planner.request.StudyTagItemRequestDto | ||
import com.example.togedy_android.domain.model.planner.NewStudyTageItem | ||
|
||
fun NewStudyTageItem.toData(): StudyTagItemRequestDto = StudyTagItemRequestDto( | ||
name = this.name, | ||
color = this.color | ||
) |
8 changes: 8 additions & 0 deletions
8
...rc/main/java/com/example/togedy_android/data/mapper/todomain/planner/StudyGoalIdMapper.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 com.example.togedy_android.data.mapper.todomain.planner | ||
|
||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyGoalIdResponseDto | ||
import com.example.togedy_android.domain.model.planner.StudyGoalId | ||
|
||
fun StudyGoalIdResponseDto.toDomain(): StudyGoalId = StudyGoalId( | ||
studyGoalId = this.studyGoalId | ||
) |
11 changes: 11 additions & 0 deletions
11
app/src/main/java/com/example/togedy_android/data/mapper/todomain/planner/StudyGoalMapper.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,11 @@ | ||
package com.example.togedy_android.data.mapper.todomain.planner | ||
|
||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyGoalResponseDto | ||
import com.example.togedy_android.domain.model.planner.StudyGoal | ||
|
||
fun StudyGoalResponseDto.toDomain(): StudyGoal = StudyGoal( | ||
id = this.id, | ||
targetTime = this.targetTime, | ||
actualTime = this.actualTime, | ||
achievement = this.achievement | ||
) |
8 changes: 8 additions & 0 deletions
8
...rc/main/java/com/example/togedy_android/data/mapper/todomain/planner/StudyPlanIdMapper.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 com.example.togedy_android.data.mapper.todomain.planner | ||
|
||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyPlanIdResponseDto | ||
import com.example.togedy_android.domain.model.planner.StudyPlanId | ||
|
||
fun StudyPlanIdResponseDto.toDomain(): StudyPlanId = StudyPlanId( | ||
studyPlanId = this.studyPlanId | ||
) |
17 changes: 17 additions & 0 deletions
17
.../main/java/com/example/togedy_android/data/mapper/todomain/planner/StudyPlanListMapper.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,17 @@ | ||
package com.example.togedy_android.data.mapper.todomain.planner | ||
|
||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyPlanResponseDto | ||
import com.example.togedy_android.domain.model.planner.StudyPlanItem | ||
|
||
fun List<StudyPlanResponseDto>.toDomain(): List<StudyPlanItem> { | ||
return this.map { studyPlanItem -> | ||
StudyPlanItem( | ||
studyPlanId = studyPlanItem.studyPlanId, | ||
name = studyPlanItem.name, | ||
studyTagColor = studyPlanItem.studyTagColor, | ||
studyTagId = studyPlanItem.studyTagId, | ||
planStatus = studyPlanItem.planStatus, | ||
studyRecords = studyPlanItem.studyRecords | ||
) | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
...ain/java/com/example/togedy_android/data/mapper/todomain/planner/StudyPlanStautsMapper.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 com.example.togedy_android.data.mapper.todomain.planner | ||
|
||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyPlanStatusResponseDto | ||
import com.example.togedy_android.domain.model.planner.StudyPlanStatus | ||
|
||
fun StudyPlanStatusResponseDto.toDomain(): StudyPlanStatus = StudyPlanStatus( | ||
id = this.id, | ||
status = this.status | ||
) |
8 changes: 8 additions & 0 deletions
8
...src/main/java/com/example/togedy_android/data/mapper/todomain/planner/StudyTagIdMapper.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 com.example.togedy_android.data.mapper.todomain.planner | ||
|
||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyTagIdResponseDto | ||
import com.example.togedy_android.domain.model.planner.StudyTagId | ||
|
||
fun StudyTagIdResponseDto.toDomain(): StudyTagId= StudyTagId( | ||
studyTagId = this.studyTagId | ||
) |
14 changes: 14 additions & 0 deletions
14
...c/main/java/com/example/togedy_android/data/mapper/todomain/planner/StudyTagListMapper.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 com.example.togedy_android.data.mapper.todomain.planner | ||
|
||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyTagItemResponseDto | ||
import com.example.togedy_android.domain.model.planner.StudyTagItem | ||
|
||
fun List<StudyTagItemResponseDto>.toDomain(): List<StudyTagItem> { | ||
return this.map { studyTagItem -> | ||
StudyTagItem( | ||
id = studyTagItem.id, | ||
name = studyTagItem.name, | ||
color = studyTagItem.color | ||
) | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...rc/main/java/com/example/togedy_android/data/remote/datasource/PlannerRemoteDataSource.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,30 @@ | ||
package com.example.togedy_android.data.remote.datasource | ||
|
||
import com.example.togedy_android.data.remote.model.base.BaseResponse | ||
import com.example.togedy_android.data.remote.model.planner.DateRequestDto | ||
import com.example.togedy_android.data.remote.model.planner.request.StudyGoalRequestDto | ||
import com.example.togedy_android.data.remote.model.planner.request.StudyPlanRequestDto | ||
import com.example.togedy_android.data.remote.model.planner.request.StudyTagItemRequestDto | ||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyGoalIdResponseDto | ||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyGoalResponseDto | ||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyPlanIdResponseDto | ||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyPlanResponseDto | ||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyPlanStatusResponseDto | ||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyTagIdResponseDto | ||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyTagItemResponseDto | ||
|
||
interface PlannerRemoteDataSource { | ||
suspend fun getStudyGoal(request: DateRequestDto): BaseResponse<StudyGoalResponseDto> | ||
suspend fun postStudyGoal(request: StudyGoalRequestDto): BaseResponse<StudyGoalIdResponseDto> | ||
|
||
suspend fun getStudyTagList(): BaseResponse<List<StudyTagItemResponseDto>> | ||
suspend fun postStudyTag(request: StudyTagItemRequestDto): BaseResponse<StudyTagIdResponseDto> | ||
suspend fun putStudyTag( | ||
tagId: Int, | ||
request: StudyTagItemRequestDto | ||
): BaseResponse<StudyTagIdResponseDto> | ||
|
||
suspend fun getStudyPlanList(request: DateRequestDto): BaseResponse<List<StudyPlanResponseDto>> | ||
suspend fun postStudyPlan(request: StudyPlanRequestDto): BaseResponse<StudyPlanIdResponseDto> | ||
suspend fun putStudyPlanStatus(studyPlanId: Int, status: String): BaseResponse<StudyPlanStatusResponseDto> | ||
} |
50 changes: 50 additions & 0 deletions
50
...java/com/example/togedy_android/data/remote/datasourceimpl/PlannerRemoteDataSourceImpl.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,50 @@ | ||
package com.example.togedy_android.data.remote.datasourceimpl | ||
|
||
import com.example.togedy_android.data.remote.datasource.PlannerRemoteDataSource | ||
import com.example.togedy_android.data.remote.model.base.BaseResponse | ||
import com.example.togedy_android.data.remote.model.planner.DateRequestDto | ||
import com.example.togedy_android.data.remote.model.planner.request.StudyGoalRequestDto | ||
import com.example.togedy_android.data.remote.model.planner.request.StudyPlanRequestDto | ||
import com.example.togedy_android.data.remote.model.planner.request.StudyTagItemRequestDto | ||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyGoalIdResponseDto | ||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyGoalResponseDto | ||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyPlanIdResponseDto | ||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyPlanResponseDto | ||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyPlanStatusResponseDto | ||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyTagIdResponseDto | ||
import com.example.togedy_android.data.remote.model.planner.resposne.StudyTagItemResponseDto | ||
import com.example.togedy_android.data.remote.service.PlannerService | ||
import javax.inject.Inject | ||
|
||
class PlannerRemoteDataSourceImpl @Inject constructor( | ||
private val plannerService: PlannerService | ||
) : PlannerRemoteDataSource { | ||
override suspend fun getStudyGoal(request: DateRequestDto): BaseResponse<StudyGoalResponseDto> = | ||
plannerService.getStudyGoal(request) | ||
|
||
override suspend fun postStudyGoal(request: StudyGoalRequestDto): BaseResponse<StudyGoalIdResponseDto> = | ||
plannerService.postStudyGoal(request) | ||
|
||
|
||
override suspend fun getStudyTagList(): BaseResponse<List<StudyTagItemResponseDto>> = | ||
plannerService.getStudyTag() | ||
|
||
override suspend fun postStudyTag(request: StudyTagItemRequestDto): BaseResponse<StudyTagIdResponseDto> = | ||
plannerService.postStudyTag(request) | ||
|
||
override suspend fun putStudyTag(tagId: Int, request: StudyTagItemRequestDto): BaseResponse<StudyTagIdResponseDto> = | ||
plannerService.putStudyTag(tagId = tagId, request = request) | ||
|
||
override suspend fun getStudyPlanList(request: DateRequestDto): BaseResponse<List<StudyPlanResponseDto>> = | ||
plannerService.getStudyPlanList(request) | ||
|
||
|
||
override suspend fun postStudyPlan(request: StudyPlanRequestDto): BaseResponse<StudyPlanIdResponseDto> = | ||
plannerService.postStudyPlan(request) | ||
|
||
override suspend fun putStudyPlanStatus( | ||
studyPlanId: Int, | ||
status: String | ||
): BaseResponse<StudyPlanStatusResponseDto> = | ||
plannerService.putStudyPlanStatus(studyPlanId = studyPlanId, status = status) | ||
} |
10 changes: 10 additions & 0 deletions
10
app/src/main/java/com/example/togedy_android/data/remote/model/planner/DateRequestDto.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 com.example.togedy_android.data.remote.model.planner | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class DateRequestDto( | ||
@SerialName("date") | ||
val date: String, | ||
) |
12 changes: 12 additions & 0 deletions
12
.../java/com/example/togedy_android/data/remote/model/planner/request/StudyGoalRequestDto.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 com.example.togedy_android.data.remote.model.planner.request | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class StudyGoalRequestDto( | ||
@SerialName("date") | ||
val date: String, | ||
@SerialName("targetTime") | ||
val targetTime: String, | ||
) |
14 changes: 14 additions & 0 deletions
14
.../java/com/example/togedy_android/data/remote/model/planner/request/StudyPlanRequestDto.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 com.example.togedy_android.data.remote.model.planner.request | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class StudyPlanRequestDto( | ||
@SerialName("name") | ||
val name: String, | ||
@SerialName("date") | ||
val date: String, | ||
@SerialName("studyTagId") | ||
val studyTagId: Int, | ||
) |
12 changes: 12 additions & 0 deletions
12
...va/com/example/togedy_android/data/remote/model/planner/request/StudyTagItemRequestDto.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 com.example.togedy_android.data.remote.model.planner.request | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class StudyTagItemRequestDto( | ||
@SerialName("name") | ||
val name: String, | ||
@SerialName("color") | ||
val color: String, | ||
) |
10 changes: 10 additions & 0 deletions
10
...a/com/example/togedy_android/data/remote/model/planner/resposne/StudyGoalIdResponseDto.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 com.example.togedy_android.data.remote.model.planner.resposne | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class StudyGoalIdResponseDto( | ||
@SerialName("studyGoalId") | ||
val studyGoalId: Int, | ||
) |
16 changes: 16 additions & 0 deletions
16
...ava/com/example/togedy_android/data/remote/model/planner/resposne/StudyGoalResponseDto.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,16 @@ | ||
package com.example.togedy_android.data.remote.model.planner.resposne | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class StudyGoalResponseDto( | ||
@SerialName("id") | ||
val id: Int, | ||
@SerialName("targetTime") | ||
val targetTime: String, | ||
@SerialName("actualTime") | ||
val actualTime: String, | ||
@SerialName("achievement") | ||
val achievement: Int, | ||
) |
10 changes: 10 additions & 0 deletions
10
...a/com/example/togedy_android/data/remote/model/planner/resposne/StudyPlanIdResponseDto.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 com.example.togedy_android.data.remote.model.planner.resposne | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class StudyPlanIdResponseDto( | ||
@SerialName("studyPlanId") | ||
val studyPlanId: Int, | ||
) |
20 changes: 20 additions & 0 deletions
20
...ava/com/example/togedy_android/data/remote/model/planner/resposne/StudyPlanResponseDto.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,20 @@ | ||
package com.example.togedy_android.data.remote.model.planner.resposne | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class StudyPlanResponseDto( | ||
@SerialName("studyPlanId") | ||
val studyPlanId: Int, | ||
@SerialName("name") | ||
val name: String, | ||
@SerialName("studyTagColor") | ||
val studyTagColor: String, | ||
@SerialName("studyTagId") | ||
val studyTagId: Int, | ||
@SerialName("planStatus") | ||
val planStatus: String, | ||
@SerialName("studyRecords") | ||
val studyRecords: List<List<String>>, | ||
) |
12 changes: 12 additions & 0 deletions
12
...m/example/togedy_android/data/remote/model/planner/resposne/StudyPlanStatusResponseDto.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 com.example.togedy_android.data.remote.model.planner.resposne | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class StudyPlanStatusResponseDto( | ||
@SerialName("id") | ||
val id: Int, | ||
@SerialName("status") | ||
val status: String, | ||
) |
10 changes: 10 additions & 0 deletions
10
...va/com/example/togedy_android/data/remote/model/planner/resposne/StudyTagIdResponseDto.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 com.example.togedy_android.data.remote.model.planner.resposne | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class StudyTagIdResponseDto( | ||
@SerialName("studyTagId") | ||
val studyTagId: Int, | ||
) |
14 changes: 14 additions & 0 deletions
14
.../com/example/togedy_android/data/remote/model/planner/resposne/StudyTagItemResponseDto.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 com.example.togedy_android.data.remote.model.planner.resposne | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class StudyTagItemResponseDto( | ||
@SerialName("id") | ||
val id: Int, | ||
@SerialName("name") | ||
val name: String, | ||
@SerialName("color") | ||
val color: String, | ||
) |
Oops, something went wrong.