File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/main/kotlin/com/github/kimcore/neis/entities Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ data class Timetable(
23
23
@SerialName(" ALL_TI_YMD" )
24
24
private val dateText : String ,
25
25
@SerialName(" ORD_SC_NM" )
26
- val order : String? ,
26
+ val order : String? = null ,
27
27
@SerialName(" DDDEP_NM" )
28
- val major : String? ,
28
+ val major : String? = null ,
29
29
@SerialName(" GRADE" )
30
30
private val gradeText : String ,
31
31
@SerialName(" CLASS_NM" )
32
- private val classNumberText : String? ,
32
+ private val classNumberText : String ,
33
33
@SerialName(" CLRM_NM" )
34
- val classroom : String ,
34
+ val classroom : String? = null ,
35
35
@SerialName(" PERIO" )
36
36
private val periodText : String ,
37
37
@SerialName(" ITRT_CNTNT" )
@@ -50,7 +50,7 @@ data class Timetable(
50
50
val grade = gradeText.toInt()
51
51
52
52
@Transient
53
- val classNumber = classNumberText? .toInt()
53
+ val classNumber = classNumberText.toInt()
54
54
55
55
@Transient
56
56
val period = periodText.toInt()
You can’t perform that action at this time.
0 commit comments