1234567891011121314151617181920212223242526272829303132333435363738 |
- package entity
- type ExamQuestion struct {
- Id int `db:"id" json:"id"`
- Name string `db:"name" json:"name"`
- Type string `db:"type" json:"type"`
- Flag string `db:"flag" json:"flag"`
- SortNo int `db:"sortno" json:"sortno"`
- Answer string `db:"answer" json:"-"`
- InAnswer string `db:"-" json:"answer"`
- Options []ExamOption `db:"-" json:"options"`
- }
- type ExamOption struct {
- Id int `db:"id" json:"id"`
- ExamId int `db:"exam_id" json:"exam_id"`
- Name string `db:"name" json:"name"`
- Flag string `db:"flag" json:"flag"`
- }
- // 20221009 护士加项产品考试 试题
- type ProductQuestion struct {
- ID int `db:"id" json:"title_id"`
- TitleName string `db:"name" json:"title_name"`
- AnswerValue int `db:"answer_value" json:"-"`
- PaperId int `db:"paper_id" json:"-"`
- SortNo int `db:"sort_no" json:"sort_no"`
- InAnswerValue int `db:"-" json:"answer"`
- Options []ProductOption `json:"options"`
- }
- // 20221009 护士加项产品考试 选项
- type ProductOption struct {
- ID int `db:"id" json:"-"`
- OptionName string `db:"name" json:"option_name"`
- Value int `db:"value" json:"value"`
- TitleId int `db:"title_id" json:"-"`
- }
|