-
Notifications
You must be signed in to change notification settings - Fork 2
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 #85 from FOR-GRAD/21-졸업-요건-ui
21 졸업 요건 UI
- Loading branch information
Showing
5 changed files
with
198 additions
and
98 deletions.
There are no files selected for viewing
30 changes: 8 additions & 22 deletions
30
app/src/main/java/umc/com/mobile/project/data/model/gradInfo/CompletionResponse.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 |
---|---|---|
@@ -1,46 +1,32 @@ | ||
import com.google.gson.annotations.SerializedName | ||
|
||
data class CompletionResponse( | ||
@SerializedName("isSuccess") | ||
val isSuccess: Boolean, | ||
@SerializedName("code") | ||
val code: String, | ||
@SerializedName("message") | ||
val message: String, | ||
@SerializedName("result") | ||
val result: Result | ||
) | ||
|
||
data class Result( | ||
@SerializedName("titleList") | ||
val titleList: TitleList, | ||
val titleList: List<String>, | ||
@SerializedName("completionDtoMap") | ||
val completionDtoMap: List<Map<String, List<String>>>, | ||
@SerializedName("majorRequirements") | ||
val majorRequirements: MajorRequirements | ||
val completionDtoMap: List<Map<String, List<String>>> | ||
) | ||
|
||
data class TitleList( | ||
@SerializedName("titleList") | ||
val titles: List<String> | ||
) | ||
|
||
data class CompletionDto( | ||
data class CompletionDtoMap( | ||
@SerializedName("필수교양(기초)") | ||
val requiredBasic: List<String>, | ||
val requiredBasicCourses: List<String>, | ||
@SerializedName("필수교양(소양)") | ||
val requiredCultural: List<String>, | ||
val requiredGeneralCourses: List<String>, | ||
@SerializedName("선택필수교양") | ||
val optionalRequired: List<String>, | ||
val electiveRequiredCourses: List<String>, | ||
@SerializedName("소 계") | ||
val optionalRequiredSubtotal: List<String> | ||
) | ||
|
||
data class MajorRequirements( | ||
val subtotal: List<String>, | ||
@SerializedName("제1트랙") | ||
val track1: List<String>, | ||
@SerializedName("제2트랙") | ||
val track2: List<String>, | ||
@SerializedName("부전공 부전공 - micro college") | ||
val minorMicroCollege: List<String> | ||
val minor: List<String> | ||
) |
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