flarum_groups.auto.go 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. // FlarumGroups defined
  8. type FlarumGroups struct {
  9. //
  10. ID null.Int `xorm:"int(10) pk notnull autoincr 'id'" json:"id" xml:"id"`
  11. //
  12. NameSingular null.String `xorm:"varchar(100) notnull 'name_singular'" json:"name_singular" xml:"name_singular"`
  13. //
  14. NamePlural null.String `xorm:"varchar(100) notnull 'name_plural'" json:"name_plural" xml:"name_plural"`
  15. //
  16. Color null.String `xorm:"varchar(20) 'color'" json:"color" xml:"color"`
  17. //
  18. Icon null.String `xorm:"varchar(100) 'icon'" json:"icon" xml:"icon"`
  19. // Creator
  20. CreateBy null.String `xorm:"varchar(36) comment('Creator') 'create_by'" json:"create_by" xml:"create_by"`
  21. // Creation time
  22. CreateTime null.Time `xorm:"datetime comment('Creation time') 'create_time'" json:"create_time" xml:"create_time"`
  23. // Last updated by
  24. UpdateBy null.String `xorm:"varchar(36) comment('Last updated by') 'update_by'" json:"update_by" xml:"update_by"`
  25. // Last update time
  26. UpdateTime null.Time `xorm:"datetime comment('Last update time') 'update_time'" json:"update_time" xml:"update_time"`
  27. // Delete tag
  28. DelFlag null.Int `xorm:"notnull comment('Delete tag') 'del_flag'" json:"del_flag" xml:"del_flag"`
  29. // Remark
  30. Remark null.String `xorm:"varchar(200) comment('Remark') 'remark'" json:"remark" xml:"remark"`
  31. }
  32. // TableName table name of defined FlarumGroups
  33. func (m *FlarumGroups) TableName() string {
  34. return "flarum_groups"
  35. }