Documentation ¶
Overview ¶
自动生成模板QuestionBankMultipleChoice
自动生成模板QuestionBankSupplyBlank
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicModel ¶
type BasicModel struct { SimpleModel Describe string `json:"describe" form:"describe" gorm:"column:describe;comment:;"` }
type BasicModelWith ¶
type BasicModelWith struct { global.GVA_MODEL SimpleModel }
type CourseSupport ¶
type Judge ¶
type Judge struct { global.GVA_MODEL CourseSupport JudgeModel }
type JudgeModel ¶
type JudgeModel struct { IsRight *bool `json:"isRight" form:"isRight" gorm:"column:is_right;comment:是否正确;"` BasicModel }
type MultipleChoice ¶
type MultipleChoice struct { global.GVA_MODEL CourseSupport MultipleChoiceModel }
MultipleChoice 结构体
func (MultipleChoice) TableName ¶
func (MultipleChoice) TableName() string
TableName MultipleChoice 表名
type MultipleChoiceModel ¶
type MultipleChoiceModel struct { BasicModel Answer string `json:"answer" form:"answer" gorm:"column:answer;comment:"` MostOptions *int `json:"mostOptions" form:"mostOptions" gorm:"column:most_options;comment:最多可选项;"` IsIndefinite *int `json:"isIndefinite" form:"isIndefinite" gorm:"column:is_indefinite"` }
type PracticeExamSupport ¶
type ProgramModel ¶
type PublicProgram ¶
type PublicProgram struct { global.GVA_MODEL ProgramModel }
func (PublicProgram) TableName ¶
func (PublicProgram) TableName() string
type SimpleModel ¶
type SimpleModel struct { SerNo string `json:"serNo" form:"serNo"` ProblemType problemType.ProblemType `json:"problemType" form:"problemType" gorm:"column:problem_type;comment:试卷难度;"` PracticeExamSupport Title string `json:"title" form:"title" gorm:"column:title;comment:;"` }
type SupplyBlank ¶
type SupplyBlank struct { global.GVA_MODEL SupplyBlankModel CourseSupport }
QuestionBankSupplyBlank 结构体
func (SupplyBlank) TableName ¶
func (SupplyBlank) TableName() string
TableName QuestionBankSupplyBlank 表名
type SupplyBlankModel ¶
type SupplyBlankModel struct { BasicModel Answer string `json:"answer" form:"answer" gorm:"column:answer;comment:答案"` Proportion string `json:"proportion"` Num *int `json:"num" form:"num" gorm:"column:num;comment:可填项;"` IsOrder *int `json:"isOrder" form:"isOrder" gorm:"column:is_order;comment:是否要求有序;"` }
type Target ¶
type Target struct { global.GVA_MODEL TargetModel CourseSupport }
type TargetModel ¶
type TargetModel struct { BasicModel Code string `json:"code" form:"code"` ByteCode string `json:"byteCode" form:"byteCode"` }
Click to show internal directories.
Click to hide internal directories.