Skip to content

Commit

Permalink
[add] DTO nullable 타입 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Jokwanhee committed Oct 25, 2024
1 parent 062801f commit 618b857
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ data class LectureResponse(
@SerializedName("id")
val id: Int,
@SerializedName("code") // "HRD011"
val code: String,
val code: String?,
@SerializedName("name") // "직업능력개발훈련평가"
val name: String,
val name: String?,
@SerializedName("grades") // "2"
val grades: String,
val grades: String?,
@SerializedName("lecture_class") // "01"
val lectureClass: String,
val lectureClass: String?,
@SerializedName("regular_number") // "40"
val regularNumber: String,
val regularNumber: String?,
@SerializedName("department") // "HRD학과"
val department: String,
val department: String?,
@SerializedName("target") // "기공3"
val target: String,
val target: String?,
@SerializedName("professor") // "홍길동"
val professor: String,
val professor: String?,
@SerializedName("is_english") // "0" : fasle / "1" : true
val isEnglish: String,
val isEnglish: String?,
@SerializedName("design_score") // "0"
val designScore: String,
val designScore: String?,
@SerializedName("is_elearning") //
val isElearning: String,
val isElearning: String?,
@SerializedName("class_time")
val classTime: List<Int>,
)
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ data class TimetableFrameResponse(
@SerializedName("id")
val id: Int,
@SerializedName("timetable_name")
val timetableName: String,
val timetableName: String?,
@SerializedName("is_main")
val isMain: Boolean,
)
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,27 @@ data class TimetableLectureResponse(
@SerializedName("lecture_id")
val lectureId: Int,
@SerializedName("regular_number") // "38"
val regularNumber: String,
val regularNumber: String?,
@SerializedName("code") // "ARB244"
val code: String,
val code: String?,
@SerializedName("design_score") // "0"
val designScore: String,
val designScore: String?,
@SerializedName("class_time")
val classTime: List<Int>,
@SerializedName("class_place") // "2공학관"
val classPlace: String,
val classPlace: String?,
@SerializedName("memo")
val memo: String?,
@SerializedName("grades") // "3"
val grades: String,
val grades: String?,
@SerializedName("class_title") // "한국사"
val classTitle: String,
val classTitle: String?,
@SerializedName("lecture_class") // "01"
val lectureClass: String,
val lectureClass: String?,
@SerializedName("target") // "디자 1 건축"
val target: String,
val target: String?,
@SerializedName("professor") // "이돈우"
val professor: String,
val professor: String?,
@SerializedName("department") // "디자인ㆍ건축공학부"
val department: String,
val department: String?,
)
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ data class TimetableLecturesResponse(
@SerializedName("timetable")
val timetable: List<TimetableLectureResponse>,
@SerializedName("grades")
val grades: Int,
val grades: Int?,
@SerializedName("total_grades")
val totalGrades: Int,
val totalGrades: Int?,
)

0 comments on commit 618b857

Please sign in to comment.