Files

17 lines
353 B
Go
Raw Permalink Normal View History

2026-03-13 20:43:44 +08:00
package models
// Course 课程结构
type Course struct {
Name string `json:"name"`
Teacher string `json:"teacher"`
Room string `json:"room"`
Schedule []Schedule `json:"schedule"`
}
// Schedule 上课时间
type Schedule struct {
Day string `json:"day"`
Section []int `json:"section"`
Weeks []int `json:"weeks"`
}