flarum_post_user.auto.go 1.2 KB

123456789101112131415161718192021222324252627282930313233
  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. // FlarumPostUser defined
  8. type FlarumPostUser struct {
  9. //
  10. PostId null.Int `xorm:"int(10) pk notnull 'post_id'" json:"post_id" xml:"post_id"`
  11. //
  12. UserId null.Int `xorm:"int(10) pk notnull 'user_id'" json:"user_id" xml:"user_id"`
  13. // Creator
  14. CreateBy null.String `xorm:"varchar(36) comment('Creator') 'create_by'" json:"create_by" xml:"create_by"`
  15. // Creation time
  16. CreateTime null.Time `xorm:"datetime comment('Creation time') 'create_time'" json:"create_time" xml:"create_time"`
  17. // Last updated by
  18. UpdateBy null.String `xorm:"varchar(36) comment('Last updated by') 'update_by'" json:"update_by" xml:"update_by"`
  19. // Last update time
  20. UpdateTime null.Time `xorm:"datetime comment('Last update time') 'update_time'" json:"update_time" xml:"update_time"`
  21. // Delete tag
  22. DelFlag null.Int `xorm:"notnull comment('Delete tag') 'del_flag'" json:"del_flag" xml:"del_flag"`
  23. // Remark
  24. Remark null.String `xorm:"varchar(200) comment('Remark') 'remark'" json:"remark" xml:"remark"`
  25. }
  26. // TableName table name of defined FlarumPostUser
  27. func (m *FlarumPostUser) TableName() string {
  28. return "flarum_post_user"
  29. }