| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- // Code generated by dol build. DO NOT EDIT.
- // source: auto.go
- package model
- import (
- "github.com/2637309949/dolphin/packages/null"
- )
- // FlarumUsers defined
- type FlarumUsers struct {
- //
- ID null.Int `xorm:"int(10) pk notnull autoincr 'id'" json:"id" xml:"id"`
- //
- Username null.String `xorm:"varchar(100) notnull 'username'" json:"username" xml:"username"`
- //
- Email null.String `xorm:"varchar(150) notnull 'email'" json:"email" xml:"email"`
- //
- IsEmailConfirmed null.Int `xorm:"int(10) notnull default(0) 'is_email_confirmed'" json:"is_email_confirmed" xml:"is_email_confirmed"`
- //
- Password null.String `xorm:"varchar(100) notnull 'password'" json:"password" xml:"password"`
- //
- Bio null.String `xorm:"text 'bio'" json:"bio" xml:"bio"`
- //
- AvatarUrl null.String `xorm:"varchar(100) 'avatar_url'" json:"avatar_url" xml:"avatar_url"`
- //
- Preferences []byte `xorm:"blob 'preferences'" json:"preferences" xml:"preferences"`
- //
- JoinedAt null.Time `xorm:"datetime 'joined_at'" json:"joined_at" xml:"joined_at"`
- //
- LastSeenAt null.Time `xorm:"datetime 'last_seen_at'" json:"last_seen_at" xml:"last_seen_at"`
- //
- MarkedAllAsReadAt null.Time `xorm:"datetime 'marked_all_as_read_at'" json:"marked_all_as_read_at" xml:"marked_all_as_read_at"`
- //
- ReadNotificationsAt null.Time `xorm:"datetime 'read_notifications_at'" json:"read_notifications_at" xml:"read_notifications_at"`
- //
- DiscussionCount null.Int `xorm:"int(10) notnull default(0) 'discussion_count'" json:"discussion_count" xml:"discussion_count"`
- //
- CommentCount null.Int `xorm:"int(10) notnull default(0) 'comment_count'" json:"comment_count" xml:"comment_count"`
- //
- ReadFlagsAt null.Time `xorm:"datetime 'read_flags_at'" json:"read_flags_at" xml:"read_flags_at"`
- //
- SuspendedUntil null.Time `xorm:"datetime 'suspended_until'" json:"suspended_until" xml:"suspended_until"`
- // Creator
- CreateBy null.String `xorm:"varchar(36) comment('Creator') 'create_by'" json:"create_by" xml:"create_by"`
- // Creation time
- CreateTime null.Time `xorm:"datetime comment('Creation time') 'create_time'" json:"create_time" xml:"create_time"`
- // Last updated by
- UpdateBy null.String `xorm:"varchar(36) comment('Last updated by') 'update_by'" json:"update_by" xml:"update_by"`
- // Last update time
- UpdateTime null.Time `xorm:"datetime comment('Last update time') 'update_time'" json:"update_time" xml:"update_time"`
- // Delete tag
- DelFlag null.Int `xorm:"notnull comment('Delete tag') 'del_flag'" json:"del_flag" xml:"del_flag"`
- // Remark
- Remark null.String `xorm:"varchar(200) comment('Remark') 'remark'" json:"remark" xml:"remark"`
- }
- // TableName table name of defined FlarumUsers
- func (m *FlarumUsers) TableName() string {
- return "flarum_users"
- }
|