Skip to content

Commit acc447c

Browse files
committed
mark field teacher in CourseReceipt as optional
1 parent 0fedda3 commit acc447c

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/main/kotlin/stageguard/sctimetable/api/edu_system/super/CourseReceiptDTO.kt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,11 @@ data class __InternalGenericCourseData(
3636

3737
@Serializable
3838
data class __InternalLesson(
39-
val autoEntry: Boolean,
4039
val courseId: Int,
41-
val courseMark: Int,
42-
val courseType: Int,
4340
val day: Int,
4441
val endSchoolYear: String,
4542
val id: Int,
4643
val locale: String,
47-
val maxCount: Int,
4844
val name: String,
4945
val period: String,
5046
val schoolId: Int,
@@ -54,6 +50,5 @@ data class __InternalLesson(
5450
val semester: String,
5551
val smartPeriod: String,
5652
val startSchoolYear: String,
57-
val teacher: String,
58-
val verifyStatus: Int
53+
val teacher: String = "",
5954
)

0 commit comments

Comments
 (0)