You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
631 B
Go

package do
// UserDO 定义了用户的数据对象结构。
type UserDO struct {
UID int64 `json:"uid" db:"uid, primary"`
Username string `json:"uname" db:"uname"`
Password string `json:"password" db:"password"`
Email string `json:"email" db:"email"`
UserType string `json:"userType" db:"userType"`
SexOrType string `json:"sexOrType" db:"sexOrType"`
Department string `json:"department" db:"department"`
Telephone string `json:"telephone" db:"telephone"`
Role string `json:"role" db:"role"`
Cookie string `json:"cookie" db:"cookie"`
}
type StudentDO struct{
}
type UserCourseDO struct {
}