active_lesson.auto.go 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // Code generated by dol build. DO NOT EDIT.
  2. // source: auto.go
  3. package model
  4. import (
  5. "github.com/2637309949/dolphin/packages/null"
  6. )
  7. // ActiveLesson defined
  8. type ActiveLesson struct {
  9. //
  10. ALId null.Int `xorm:"int(11) pk notnull autoincr 'a_l_id'" json:"a_l_id" xml:"a_l_id"`
  11. //
  12. ActiveName null.String `xorm:"varchar(100) 'active_name'" json:"active_name" xml:"active_name"`
  13. //
  14. StartTime null.Time `xorm:"datetime 'start_time'" json:"start_time" xml:"start_time"`
  15. //
  16. EndTime null.Time `xorm:"datetime 'end_time'" json:"end_time" xml:"end_time"`
  17. //
  18. ActiveState null.Int `xorm:"int(11) 'active_state'" json:"active_state" xml:"active_state"`
  19. //
  20. MaxNum null.Int `xorm:"int(11) 'max_num'" json:"max_num" xml:"max_num"`
  21. //
  22. TeaId null.Int `xorm:"int(11) 'tea_id'" json:"tea_id" xml:"tea_id"`
  23. //
  24. Creater null.String `xorm:"varchar(36) 'creater'" json:"creater" xml:"creater"`
  25. //
  26. CreateDate null.Time `xorm:"datetime 'create_date'" json:"create_date" xml:"create_date"`
  27. //
  28. Updater null.String `xorm:"varchar(36) 'updater'" json:"updater" xml:"updater"`
  29. //
  30. UpdateDate null.Time `xorm:"datetime 'update_date'" json:"update_date" xml:"update_date"`
  31. //
  32. Isdelete null.Int `xorm:"notnull 'isdelete'" json:"isdelete" xml:"isdelete"`
  33. //
  34. TlDate null.Time `xorm:"datetime 'tl_date'" json:"tl_date" xml:"tl_date"`
  35. //
  36. RoomId null.Int `xorm:"int(11) 'room_id'" json:"room_id" xml:"room_id"`
  37. //
  38. SchId null.Int `xorm:"int(11) 'sch_id'" json:"sch_id" xml:"sch_id"`
  39. //
  40. ActiveType null.Int `xorm:"int(11) 'active_type'" json:"active_type" xml:"active_type"`
  41. //
  42. ReportedNumber null.Int `xorm:"int(11) 'reported_number'" json:"reported_number" xml:"reported_number"`
  43. //
  44. Note null.String `xorm:"varchar(200) 'note'" json:"note" xml:"note"`
  45. //
  46. AgeGroup null.Int `xorm:"int(11) 'age_group'" json:"age_group" xml:"age_group"`
  47. //
  48. BeforeId null.Int `xorm:"int(11) 'before_id'" json:"before_id" xml:"before_id"`
  49. //
  50. TkType null.Int `xorm:"int(11) 'tk_type'" json:"tk_type" xml:"tk_type"`
  51. }
  52. // TableName table name of defined ActiveLesson
  53. func (m *ActiveLesson) TableName() string {
  54. return "active_lesson"
  55. }