po

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: 2 Imported by: 0

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 CourseSupport struct {
	LessonId    uint `json:"lessonId" form:"lessonId"`
	ChapterId   uint `json:"chapterId" form:"chapterId" gorm:"column:chapter_id"`
	KnowledgeId uint `json:"knowledgeId" form:"knowledgeId"`
}

type Judge

type Judge struct {
	global.GVA_MODEL
	CourseSupport
	JudgeModel
}

func (Judge) TableName

func (Judge) TableName() string

TableName QuestionBankJudge 表名

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 PracticeExamSupport struct {
	IsCheck     *int `json:"isCheck" form:"isCheck"`
	CanPractice *int `json:"canPractice" form:"canPractice" gorm:"column:can_practice;comment:是否训练题目"`
	CanExam     *int `json:"canExam" form:"canExam" gorm:"column:can_exam;comment:是否为考试题目"`
}

type Program

type Program struct {
	global.GVA_MODEL
	ProgramModel
	CourseSupport
}

Program 结构体

func (Program) TableName

func (Program) TableName() string

TableName Program 表名

type ProgramModel

type ProgramModel struct {
	BasicModel
	ProgramCases          *string `json:"programCases"`
	LanguageSupports      *string `json:"languageSupport"`
	ReferenceAnswers      *string `json:"referenceAnswer"`
	DefaultCodes          *string `json:"defaultCodes"`
	LanguageSupportsBrief *string `json:"languageSupportBrief"`
}

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
}

func (Target) TableName

func (Target) TableName() string

type TargetModel

type TargetModel struct {
	BasicModel
	Code     string `json:"code" form:"code"`
	ByteCode string `json:"byteCode" form:"byteCode"`
}

Jump to

Keyboard shortcuts

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