request

package
v0.0.0-...-003a2e9 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Answer

type Answer struct {
	QuestionType questionType.QuestionType `json:"questionType"`
	Id           uint                      `json:"id"`
}

type Attendance

type Attendance struct {
	Code      string `json:"code"`
	StudentId uint   `json:"studentId"`
}

type AttendanceDetail

type AttendanceDetail struct {
	AttendanceId uint `json:"attendanceId" form:"attendanceId"`
	request.PageInfo
}

type ExamPlan

type ExamPlan struct {
	PlanId uint `json:"planId" form:"planId"`
}

type ExamPlanAudit

type ExamPlanAudit struct {
	PlanId uint `json:"planId" form:"planId"`
	Value  uint `json:"value" form:"value"`
}

type ExamPlanRq

type ExamPlanRq struct {
	Name         string  `json:"name" form:"name" gorm:"column:name;comment:考试名称;size:32;"`
	TeachClassId []uint  `json:"teachClassId" form:"teachClassId" gorm:"column:teach_class_id;comment:教学班id;size:32;"`
	StartTime    string  `json:"startTime" form:"startTime" gorm:"column:start_time;comment:考试时间;"`
	Time         int     `json:"Time" form:"Time" gorm:"column:time;comment:考试时长;"`
	EndTime      string  `json:"endTime" form:"endTime" gorm:"column:end_time;comment:结束时间;"`
	LessonId     int     `json:"lessonId" form:"lessonId" gorm:"column:lesson_id;comment:课程Id;size:32;"`
	TemplateId   uint    `json:"templateId" form:"templateId" gorm:"column:template_id;comment:考试模板Id;size:32;"`
	State        int     `json:"state" form:"state" gorm:"column:state;comment:状态;size:8;"`
	Audit        int     `json:"audit" form:"audit" gorm:"column:audit;comment:是否审核;size:8;"`
	Type         int     `json:"type" form:"type" gorm:"column:type;comment:考试类型;size:8;"`
	PassScore    float64 `json:"passScore" form:"passScore" gorm:"column:pass_score;comment:通过分数;size:8;"`
	TermId       uint    `json:"termId" form:"termId" gorm:"column:term_id;comment:学期id"`
	Weight       int     `json:"weight" form:"weight" gorm:"column:weight;comment:占比"`
	IsLimitTime  bool    `json:"isLimitTime" form:"isLimitTime" gorm:"is_limit_time;comment:是否限制考试时长"`
}

type ExamPlanRq1

type ExamPlanRq1 struct {
	global.GVA_MODEL
	Name         string  `json:"name" form:"name" gorm:"column:name;comment:考试名称;size:32;"`
	TeachClassId uint    `json:"teachClassId" form:"teachClassId" gorm:"column:teach_class_id;comment:教学班id;size:32;"`
	StartTime    string  `json:"startTime" form:"startTime" gorm:"column:start_time;comment:考试时间;"`
	EndTime      string  `json:"endTime" form:"endTime" gorm:"column:end_time;comment:结束时间;"`
	Time         int     `json:"time" form:"time" gorm:"column:time;comment:考试时长;"`
	LessonId     int     `json:"lessonId" form:"lessonId" gorm:"column:lesson_id;comment:课程Id;size:32;"`
	TemplateId   uint    `json:"templateId" form:"templateId" gorm:"column:template_id;comment:考试模板Id;size:32;"`
	State        int     `json:"state" form:"state" gorm:"column:state;comment:状态;size:8;"`
	Audit        int     `json:"audit" form:"audit" gorm:"column:audit;comment:是否审核;size:8;"`
	Type         int     `json:"type" form:"type" gorm:"column:type;comment:考试类型;size:8;"`
	PassScore    float64 `json:"passScore" form:"passScore" gorm:"column:pass_score;comment:通过分数;size:8;"`
	TermId       uint    `json:"termId" form:"termId" gorm:"column:term_id;comment:学期id"`
	Weight       int     `json:"weight" form:"weight" gorm:"column:weight;comment:占比"`
	IsLimitTime  bool    `json:"isLimitTime" form:"isLimitTime" gorm:"is_limit_time;comment:是否限制考试时长"`
}

type ExamPlanSearch

type ExamPlanSearch struct {
	ExamPlanRq
	request.PageInfo
}

type Excel

type Excel struct {
	FileName string `json:"fileName"`
	PlanId   uint   `json:"planId"`
}

type GenerateQrCode

type GenerateQrCode struct {
	AttendanceId uint `json:"attendanceId"`
	Minute       uint `json:"minute"`
}

type History

type History struct {
	QuestionType questionType.QuestionType `json:"questionType"`
	Ids          []uint                    `json:"ids"`
}

type MultiExcel

type MultiExcel struct {
	FileName    string `json:"fileName"`
	TeachPlanId uint   `json:"teachPlanId"`
}

type ScoreSearch

type ScoreSearch struct {
	teachplan.Score
	request.PageInfo
}

type Supplement

type Supplement struct {
	AttendanceId uint `json:"attendanceId"`
	StudentId    uint `json:"studentId"`
}

type TeachAttendanceRecordSearch

type TeachAttendanceRecordSearch struct {
	teachplan.TeachAttendanceRecord
	request.PageInfo
}

type TeachAttendanceSearch

type TeachAttendanceSearch struct {
	teachplan.TeachAttendance
	request.PageInfo
}

Jump to

Keyboard shortcuts

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