6
0

learning_question.go 1.6 KB

1234567891011121314151617181920212223242526
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
  3. // ==========================================================================
  4. package internal
  5. import (
  6. "github.com/gogf/gf/os/gtime"
  7. )
  8. // LearningQuestion is the golang structure for table learning_question.
  9. type LearningQuestion struct {
  10. Id int `orm:"Id,primary" json:"id"` // Id
  11. SkillId int `orm:"SkillId" json:"skillId"` // 技能 Id
  12. Name string `orm:"Name" json:"name"` // 题目
  13. NameImage string `orm:"NameImage" json:"nameImage"` // 题目图片
  14. Type int `orm:"Type" json:"type"` // 题型 1 单选 2 多选 3 判断
  15. Enable int `orm:"Enable" json:"enable"` // 是否启用
  16. Content string `orm:"Content" json:"content"` // 题目内容
  17. Explanation string `orm:"Explanation" json:"explanation"` // 题目解析
  18. ExplanationImage string `orm:"ExplanationImage" json:"explanationImage"` // 题目解析图片
  19. OperateBy string `orm:"OperateBy" json:"operateBy"` // 操作人
  20. CreatedAt *gtime.Time `orm:"CreatedAt" json:"createdAt"` // 创建时间
  21. UpdatedAt *gtime.Time `orm:"UpdatedAt" json:"updatedAt"` // 更新时间
  22. DeletedAt *gtime.Time `orm:"DeletedAt" json:"deletedAt"` // 删除时间
  23. }