6
0

learning_material.go 1.2 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. // LearningMaterial is the golang structure for table learning_material.
  9. type LearningMaterial 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 视频
  14. SortNo int `orm:"SortNo" json:"sortNo"` // 排序
  15. Enable int `orm:"Enable" json:"enable"` // 是否启用
  16. Content string `orm:"Content" json:"content"` // 资料内容
  17. Annex string `orm:"Annex" json:"annex"` // 附件路径
  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. }