models

package
v0.0.0-...-95a90c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GradeCourse

type GradeCourse struct {
	CourseId        string `json:"course_id"`
	Title           string `json:"title"`
	Teacher         string `json:"teacher"`
	ClassName       string `json:"class_name"`
	Credit          string `json:"credit"`
	Category        string `json:"category"`
	Nature          string `json:"nature"`
	Grade           string `json:"grade"`
	GradePoint      string `json:"grade_point"`
	GradeNature     string `json:"grade_nature"`
	TeachingCollege string `json:"teaching_college"`
	Mark            string `json:"mark"`
}

type GradeInfo

type GradeInfo struct {
	Year    int           `json:"year"`
	Term    int           `json:"term"`
	Count   int           `json:"count"`
	Courses []GradeCourse `json:"courses"`
}

type LoginKaptcha

type LoginKaptcha struct {
	Sid        string            `json:"sid"`
	CsrfToken  string            `json:"csrf_token"`
	Cookies    map[string]string `json:"cookies"`
	Modulus    string            `json:"modulus"`
	Exponent   string            `json:"exponent"`
	KaptchaPic string            `json:"kaptcha_pic"`
	Timestamp  string            `json:"timestamp"`
}

type Result

type Result struct {
	Code int    `json:"code"`
	Msg  string `json:"msg"`
	Data any    `json:"data"`
}

type ScheduleCourse

type ScheduleCourse struct {
	CourseId         string `json:"course_id"`
	Title            string `json:"title"`
	Teacher          string `json:"teacher"`
	ClassName        string `json:"class_name"`
	Credit           string `json:"credit"`
	Weekday          string `json:"weekday"`
	Sessions         string `json:"sessions"`
	Weeks            string `json:"weeks"`
	EvaluationMode   string `json:"evaluation_mode"`
	Campus           string `json:"campus"`
	Place            string `json:"place"`
	HoursComposition string `json:"hours_composition"`
	WeeklyHours      string `json:"weekly_hours"`
	TotalHours       string `json:"total_hours"`
}

type ScheduleInfo

type ScheduleInfo struct {
	Year    int              `json:"year"`
	Term    int              `json:"term"`
	Count   int              `json:"count"`
	Courses []ScheduleCourse `json:"courses"`
}

type StudentInfo

type StudentInfo struct {
	Sid             string `json:"sid"`
	Name            string `json:"name"`
	Domicile        string `json:"domicile"`
	PhoneNumber     string `json:"phone_number"`
	Email           string `json:"email"`
	PoliticalStatus string `json:"political_status"`
	Nationality     string `json:"nationality"`
	CollegeName     string `json:"college_name"`
	MajorName       string `json:"major_name"`
	ClassName       string `json:"class_name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL