request

package
v0.0.0-...-9f28539 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnswerCheating

type AnswerCheating struct {
	MergeId  uint    `json:"mergeId"`
	Answer   string  `json:"answer"`
	GotScore float64 `json:"gotScore"`
}

type CommitTargetExamPaper

type CommitTargetExamPaper struct {
	StudentId       uint              `json:"studentId" form:"studentId"`
	PlanId          uint              `json:"planId" form:"planId"`
	PaperId         uint              `json:"paperId" form:"paperId"`
	TargetComponent []TargetComponent `json:"targetComponent"`
}

type ConvertDraft

type ConvertDraft struct {
	PlanId       int    `json:"planId" form:"planId"`
	Name         string `json:"name" form:"name"`
	DraftPaperId uint   `json:"draftPaperId" form:"draftPaperId"`
}

type DraftPaperSearch

type DraftPaperSearch struct {
	request.PageInfo
	DraftSearch
}

type DraftSearch

type DraftSearch struct {
	Name     string `json:"name" form:"name" gorm:"column:name;comment:试卷名称;size:64;"`
	LessonId uint   `json:"lessonId" form:"lessonId"`
	UserId   *uint  `json:"user_id" form:"userId" gorm:"column:user_id;comment:创建id;size:32;"`
}

type EpSearch

type EpSearch struct {
	PlanId     int    `json:"planId" form:"planId" gorm:"column:plan_id;comment:考试计划id;size:32;"`
	Name       string `json:"name" form:"name" gorm:"column:name;comment:试卷名称;size:64;"`
	TemplateId int    `json:"templateId" form:"templateId" gorm:"column:template_id;comment:试卷模板Id;size:32;"`
	TermId     uint   `json:"termId" form:"termId"`
	LessonId   uint   `json:"lessonId" form:"lessonId"`
	UserId     uint   `json:"user_id" form:"userId" gorm:"column:user_id;comment:创建id;size:32;"`
}

type ExamComing

type ExamComing struct {
	StudentId uint `json:"studentId" form:"studentId"`
	PlanId    uint `json:"planId" form:"planId"`
}

type ExamPaperBySelf

type ExamPaperBySelf struct {
	global.GVA_MODEL
	PlanId    *int                            `json:"planId" form:"planId" gorm:"column:plan_id;comment:考试计划id;size:32;"`
	Name      string                          `json:"name" form:"name" gorm:"column:name;comment:试卷名称;size:64;"`
	UserId    *uint                           `json:"user_id" form:"userId" gorm:"column:user_id;comment:创建id;size:32;"`
	PaperItem []examManage.PaperQuestionMerge `json:"paperItem"`
}

type ExamPaperItem

type ExamPaperItem struct {
	QuestionId   *uint                      `json:"questionId" form:"paperId" gorm:"column:question_id;comment:题目id;size:32;"`
	Score        *int                       `json:"score" form:"score" gorm:"column:score;comment:所占分值;size:8;"`
	QuestionType *questionType.QuestionType `json:"questionType" form:"paperId" gorm:"column:question_type;comment:题目类型;size:8;"`
	ProblemType  *int                       `json:"problemType" form:"problemType" gorm:"column:problem_type;comment:难度;size:8;"`
}

type ExamPaperSearch

type ExamPaperSearch struct {
	EpSearch
	request.PageInfo
}

type ExamStudentPaperSearch

type ExamStudentPaperSearch struct {
	examManage.ExamStudentPaper
}

type ExamStudentScore

type ExamStudentScore struct {
	ScoreSearch
	request.PageInfo
}

type IdsReq

type IdsReq struct {
	Ids []uint `json:"ids" form:"ids"`
}

type PaperCheating

type PaperCheating struct {
	StudentId      uint             `json:"studentId"`
	PlanId         uint             `json:"planId"`
	AnswerCheating []AnswerCheating `json:"answerCheating"`
}

type PaperDistribution

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

type PaperMultiReview

type PaperMultiReview struct {
	TeachPlanId uint `json:"teachPlanId"`
	request.PageInfo
}

type PaperQuestionMergeSearch

type PaperQuestionMergeSearch struct {
	examManage.PaperQuestionMerge
	request.PageInfo
}

type PaperReview

type PaperReview struct {
	examManage.ExamScore
	TeachPlanId int `json:"teachPlanId"`
	request.PageInfo
}

type PaperTemplateItemSearch

type PaperTemplateItemSearch struct {
	examManage.PaperTemplateItem
	request.PageInfo
}

type PaperTemplateSearch

type PaperTemplateSearch struct {
	PtSearch
	request.PageInfo
}

type PtSearch

type PtSearch struct {
	LessonId int    `json:"lessonId" form:"lessonId"`
	Name     string `json:"name" form:"name"`
}

type ReExecTargetComponent

type ReExecTargetComponent struct {
	Id         uint   `json:"id"`
	QuestionId uint   `json:"questionId" form:"questionId"`
	Answer     string `json:"answer" form:"answer"`
}

type ReExecTargetExamPaper

type ReExecTargetExamPaper struct {
	StudentId       uint                    `json:"studentId" form:"studentId"`
	PlanId          uint                    `json:"planId" form:"planId"`
	PaperId         uint                    `json:"paperId" form:"paperId"`
	TargetComponent []ReExecTargetComponent `json:"targetComponent"`
}

type RecordRq

type RecordRq struct {
	Student uint `json:"studentId" form:"studentId"`
	PlanId  uint `json:"planId" form:"planId"`
}

type RecordRq1

type RecordRq1 struct {
	Student  uint `json:"studentId" form:"studentId"`
	PlanId   uint `json:"planId" form:"planId"`
	RecordId uint `json:"recordId" form:"recordId"`
}

type ScoreSearch

type ScoreSearch struct {
	LessonId *int `json:"lessonId" form:"lessonId" gorm:"column:lesson_id;comment:课程id;size:32;"`
	TermId   *int `json:"termId" form:"termId" gorm:"column:term_id;comment:学期id"`
}

type StatusMonitor

type StatusMonitor struct {
	examManage.StudentPaperStatus
}

type TargetComponent

type TargetComponent struct {
	MergeId    uint   `json:"mergeId"`
	QuestionId uint   `json:"questionId" form:"questionId"`
	Answer     string `json:"answer" form:"answer"`
}

type TargetInstance

type TargetInstance struct {
	Id     uint `json:"id" form:"id"`
	PlanId uint `json:"planId" form:"planId"`
}

type UploadExamPicture

type UploadExamPicture struct {
	PlanId uint                  `json:"planId" form:"planId"`
	File   *multipart.FileHeader `form:"file"`
}

Jump to

Keyboard shortcuts

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