2026-03-12 08:38:14 +08:00
|
|
|
package dto
|
|
|
|
|
|
|
|
|
|
type ScheduleCourseResponse struct {
|
|
|
|
|
ID string `json:"id"`
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
Teacher string `json:"teacher,omitempty"`
|
|
|
|
|
Location string `json:"location,omitempty"`
|
2026-03-19 00:31:57 +08:00
|
|
|
DayOfWeek int `json:"day_of_week"`
|
2026-03-17 00:47:17 +08:00
|
|
|
StartSection int `json:"start_section,omitzero"`
|
|
|
|
|
EndSection int `json:"end_section,omitzero"`
|
2026-03-12 08:38:14 +08:00
|
|
|
Weeks []int `json:"weeks"`
|
|
|
|
|
Color string `json:"color,omitempty"`
|
|
|
|
|
}
|