learning_question.go 1.3 KB

123456789101112131415161718192021222324
  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. Type int `orm:"Type" json:"type"` // 题型 1 单选 2 多选 3 判断
  14. Enable int `orm:"Enable" json:"enable"` // 是否启用
  15. Content string `orm:"Content" json:"content"` // 题目内容
  16. Explanation string `orm:"Explanation" json:"explanation"` // 题目解析
  17. OperateBy string `orm:"OperateBy" json:"operateBy"` // 操作人
  18. CreatedAt *gtime.Time `orm:"CreatedAt" json:"createdAt"` // 创建时间
  19. UpdatedAt *gtime.Time `orm:"UpdatedAt" json:"updatedAt"` // 更新时间
  20. DeletedAt *gtime.Time `orm:"DeletedAt" json:"deletedAt"` // 删除时间
  21. }